summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2021-11-26 16:37:46 +0100
committerxengineering <me@xengineering.eu>2021-11-26 16:37:46 +0100
commit73f855d464c034bb832a3093b38e406ec24767f9 (patch)
tree0341d695d3301fe2b5e8b4b19bd9142f8f0b0719
parent1dd6eeb9ac595cd0b26ce8c5ff4455bf677e9542 (diff)
downloadlibweb-73f855d464c034bb832a3093b38e406ec24767f9.tar
libweb-73f855d464c034bb832a3093b38e406ec24767f9.tar.zst
libweb-73f855d464c034bb832a3093b38e406ec24767f9.zip
Fix List Marker Bug
-rw-r--r--css/xengineering.css6
-rw-r--r--html/test_simple.html6
2 files changed, 10 insertions, 2 deletions
diff --git a/css/xengineering.css b/css/xengineering.css
index a35df34..a931a02 100644
--- a/css/xengineering.css
+++ b/css/xengineering.css
@@ -155,13 +155,15 @@ img {
ol {
margin-top: 1vh;
margin-bottom: 1vh;
- list-style-position: inside;
+ list-style-position: outside;
+ padding-left: 2em;
}
ul {
margin-top: 1vh;
margin-bottom: 1vh;
- list-style-position: inside;
+ list-style-position: outside;
+ padding-left: 2em;
}
li {
diff --git a/html/test_simple.html b/html/test_simple.html
index 0de1eea..7f01842 100644
--- a/html/test_simple.html
+++ b/html/test_simple.html
@@ -102,6 +102,12 @@ contact via mail: me@xengineering.eu
voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum
dolor sit amet.</li>
+ <li>an item</li>
+ <li>an item</li>
+ <li>an item</li>
+ <li>an item</li>
+ <li>an item</li>
+ <li>an item</li>
</ol>
<p>Just some Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt ut labore et dolore magna