Let the hidden attribute beat the display rules
This commit is contained in:
1 parent
d86ea89449
commit
77f5742221
1 file changed
+6
@@ -25,6 +25,12 @@ html {
|
|||||||
-webkit-text-size-adjust: 100%;
|
-webkit-text-size-adjust: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* The form hides the fields and sections that do not belong to the chosen type
|
||||||
|
with the hidden attribute, so it has to beat the display rules below. */
|
||||||
|
[hidden] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background: #f5f5f2;
|
background: #f5f5f2;
|
||||||
|
|||||||
Reference in new issue
Block a user