mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/css: fix lists in comments css inheritance
Markdown lists in comments inherited some unwanted CSS rules. The fix is to make the culprit rules apply to more specific elements.
This commit is contained in:
@ -4,17 +4,15 @@ form
|
||||
display: block
|
||||
width: 20em
|
||||
|
||||
ul
|
||||
.input
|
||||
list-style-type: none
|
||||
margin: 0 0 1em 0
|
||||
margin: 0 0 2em 0
|
||||
padding: 0
|
||||
li
|
||||
margin-top: 1.2em
|
||||
label
|
||||
display: block
|
||||
padding: 0.3em 0
|
||||
.input
|
||||
margin-bottom: 2em
|
||||
.input li:first-child label:not(.radio):not(.checkbox):not(.file-dropper),
|
||||
.input li:first-child
|
||||
padding-top: 0
|
||||
|
@ -106,7 +106,7 @@
|
||||
text-align: left
|
||||
|
||||
label
|
||||
display: none
|
||||
display: none !important
|
||||
form
|
||||
width: auto
|
||||
margin-bottom: 0.75em
|
||||
|
@ -39,6 +39,10 @@ $cancel-button-color = tomato
|
||||
margin-top: 1em
|
||||
|
||||
.uploadables-container
|
||||
list-style-type: none
|
||||
margin: 0
|
||||
padding: 0
|
||||
|
||||
li
|
||||
margin: 0 0 1.2em 0
|
||||
|
||||
|
@ -87,7 +87,8 @@ div.tag-input
|
||||
|
||||
ul.compact-tags
|
||||
width: 100%
|
||||
margin-top: 0.5em
|
||||
margin: 0.5em 0 0 0
|
||||
padding: 0
|
||||
li
|
||||
margin: 0
|
||||
width: 100%
|
||||
|
@ -41,7 +41,7 @@
|
||||
|
||||
.tag-list-header
|
||||
label
|
||||
display: none
|
||||
display: none !important
|
||||
text-align: left
|
||||
form
|
||||
width: auto
|
||||
|
@ -28,7 +28,7 @@
|
||||
|
||||
.user-list-header
|
||||
label
|
||||
display: none
|
||||
display: none !important
|
||||
text-align: left
|
||||
form
|
||||
width: auto
|
||||
|
Reference in New Issue
Block a user