Replace list padding-left with list-style-position

Fixes the issue with list bullet points overlapping `float:left` images
This commit is contained in:
GregTheMadMonk 2022-09-26 23:23:57 +03:00
parent f3eb441c61
commit 57d4f12f7f
4 changed files with 10 additions and 10 deletions

View File

@ -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 {

View File

@ -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);
}
}
}

View File

@ -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 {

View File

@ -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);
}
}
}