forked from SPC/spc-site
Replace list padding-left with list-style-position
Fixes the issue with list bullet points overlapping `float:left` images
This commit is contained in:
parent
f3eb441c61
commit
57d4f12f7f
@ -1305,14 +1305,14 @@ a.icon.alt:active:before {
|
||||
ol {
|
||||
list-style: decimal;
|
||||
margin: 0 0 2em 0;
|
||||
padding-left: 1.25em; }
|
||||
list-style-position: inside; }
|
||||
ol li {
|
||||
padding-left: 0.25em; }
|
||||
|
||||
ul {
|
||||
list-style: disc;
|
||||
margin: 0 0 2em 0;
|
||||
padding-left: 1em; }
|
||||
list-style-position: inside; }
|
||||
ul li {
|
||||
padding-left: 0.5em; }
|
||||
ul.alt {
|
||||
|
@ -9,7 +9,7 @@
|
||||
ol {
|
||||
list-style: decimal;
|
||||
margin: 0 0 _size(element-margin) 0;
|
||||
padding-left: 1.25em;
|
||||
list-style-position: inside;
|
||||
|
||||
li {
|
||||
padding-left: 0.25em;
|
||||
@ -19,7 +19,7 @@
|
||||
ul {
|
||||
list-style: disc;
|
||||
margin: 0 0 _size(element-margin) 0;
|
||||
padding-left: 1em;
|
||||
list-style-position: inside;
|
||||
|
||||
li {
|
||||
padding-left: 0.5em;
|
||||
@ -53,4 +53,4 @@
|
||||
dd {
|
||||
margin-left: _size(element-margin);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1605,14 +1605,14 @@ input[type="radio"] + label:before {
|
||||
ol {
|
||||
list-style: decimal;
|
||||
margin: 0 0 2em 0;
|
||||
padding-left: 1.25em; }
|
||||
list-style-position: inside; }
|
||||
ol li {
|
||||
padding-left: 0.25em; }
|
||||
|
||||
ul {
|
||||
list-style: disc;
|
||||
margin: 0 0 2em 0;
|
||||
padding-left: 1em; }
|
||||
list-style-position: inside; }
|
||||
ul li {
|
||||
padding-left: 0.5em; }
|
||||
ul.alt {
|
||||
|
@ -9,7 +9,7 @@
|
||||
ol {
|
||||
list-style: decimal;
|
||||
margin: 0 0 _size(element-margin) 0;
|
||||
padding-left: 1.25em;
|
||||
list-style-position: inside;
|
||||
|
||||
li {
|
||||
padding-left: 0.25em;
|
||||
@ -19,7 +19,7 @@
|
||||
ul {
|
||||
list-style: disc;
|
||||
margin: 0 0 _size(element-margin) 0;
|
||||
padding-left: 1em;
|
||||
list-style-position: inside;
|
||||
|
||||
li {
|
||||
padding-left: 0.5em;
|
||||
@ -53,4 +53,4 @@
|
||||
dd {
|
||||
margin-left: _size(element-margin);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user