From 2239bc8b2a86efc46a9f9600e2e68b0b7368fa32 Mon Sep 17 00:00:00 2001 From: David Luhmer Date: Thu, 10 Oct 2024 11:26:03 +0200 Subject: [PATCH] add padding for list css Signed-off-by: David Luhmer --- News-Android-App/src/main/assets/web.css | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/News-Android-App/src/main/assets/web.css b/News-Android-App/src/main/assets/web.css index 862539a18..fd24690b4 100644 --- a/News-Android-App/src/main/assets/web.css +++ b/News-Android-App/src/main/assets/web.css @@ -165,12 +165,22 @@ a { color: #ffffff !important; } -ul { +/* We use custom list style / use 0 padding for first level of lists */ +ul, ol { list-style: none; - padding: 0; + padding: 0px; } -ul li:before { +/* Nested lists should be indented a little */ +ul li ul, +ul li ol, +ol li ul, +ol li ol { + padding: 0px 0px 0px 12px; +} + + +ul li:before, ol li:before { vertical-align: 18%; margin-right:10px; border-style: solid;