1
0
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:
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 { ol {
list-style: decimal; list-style: decimal;
margin: 0 0 2em 0; margin: 0 0 2em 0;
padding-left: 1.25em; } list-style-position: inside; }
ol li { ol li {
padding-left: 0.25em; } padding-left: 0.25em; }
ul { ul {
list-style: disc; list-style: disc;
margin: 0 0 2em 0; margin: 0 0 2em 0;
padding-left: 1em; } list-style-position: inside; }
ul li { ul li {
padding-left: 0.5em; } padding-left: 0.5em; }
ul.alt { ul.alt {

View File

@ -9,7 +9,7 @@
ol { ol {
list-style: decimal; list-style: decimal;
margin: 0 0 _size(element-margin) 0; margin: 0 0 _size(element-margin) 0;
padding-left: 1.25em; list-style-position: inside;
li { li {
padding-left: 0.25em; padding-left: 0.25em;
@ -19,7 +19,7 @@
ul { ul {
list-style: disc; list-style: disc;
margin: 0 0 _size(element-margin) 0; margin: 0 0 _size(element-margin) 0;
padding-left: 1em; list-style-position: inside;
li { li {
padding-left: 0.5em; padding-left: 0.5em;
@ -53,4 +53,4 @@
dd { dd {
margin-left: _size(element-margin); margin-left: _size(element-margin);
} }
} }

View File

@ -1605,14 +1605,14 @@ input[type="radio"] + label:before {
ol { ol {
list-style: decimal; list-style: decimal;
margin: 0 0 2em 0; margin: 0 0 2em 0;
padding-left: 1.25em; } list-style-position: inside; }
ol li { ol li {
padding-left: 0.25em; } padding-left: 0.25em; }
ul { ul {
list-style: disc; list-style: disc;
margin: 0 0 2em 0; margin: 0 0 2em 0;
padding-left: 1em; } list-style-position: inside; }
ul li { ul li {
padding-left: 0.5em; } padding-left: 0.5em; }
ul.alt { ul.alt {

View File

@ -9,7 +9,7 @@
ol { ol {
list-style: decimal; list-style: decimal;
margin: 0 0 _size(element-margin) 0; margin: 0 0 _size(element-margin) 0;
padding-left: 1.25em; list-style-position: inside;
li { li {
padding-left: 0.25em; padding-left: 0.25em;
@ -19,7 +19,7 @@
ul { ul {
list-style: disc; list-style: disc;
margin: 0 0 _size(element-margin) 0; margin: 0 0 _size(element-margin) 0;
padding-left: 1em; list-style-position: inside;
li { li {
padding-left: 0.5em; padding-left: 0.5em;
@ -53,4 +53,4 @@
dd { dd {
margin-left: _size(element-margin); margin-left: _size(element-margin);
} }
} }