mirror of
https://github.com/nsupdate-info/nsupdate.info.git
synced 2026-04-25 08:35:56 +03:00
[GH-ISSUE #110] strange css definition / code checker warning #103
Labels
No labels
bug
bug
duplicate
easy
easy
enhancement
enhancement
invalid
needs help
pull-request
scalability
security
task
urgent
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nsupdate.info-nsupdate-info#103
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ThomasWaldmann on GitHub (Dec 15, 2013).
Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/110
in nsupdate.css we have:
.wrap {
min-height: 100%;
height: auto !important;
height: 100%;
...
}
Pycharm warns that the 2nd height definition overwrites the first one.
But: this css is exactly how some bootstrap example recommended to do it.
So, is this a problem? Why? What is correct?
@1v3ry commented on GitHub (Dec 25, 2013):
since the 100% definition is overwritten by the auto !important, you can get rid of it.
furthermore auto is the default value for the height property, so you actually can get rid of both height definitions.
smaller code, no error :)