diff options
-rw-r--r-- | !NetSurf/Resources/CSS,f79 | 2 | ||||
-rw-r--r-- | render/layout.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/!NetSurf/Resources/CSS,f79 b/!NetSurf/Resources/CSS,f79 index 89a87f229..e61d97d66 100644 --- a/!NetSurf/Resources/CSS,f79 +++ b/!NetSurf/Resources/CSS,f79 @@ -57,7 +57,7 @@ ul { display: block; padding-left: 1.5em; margin-bottom: 1em; list-style-type: disc; } ol { display: block; padding-left: 1.5em; margin-bottom: 1em; list-style-type: decimal; } -li { display: list-item; padding-left: 0.5em; margin-bottom: 0.3em; } +li { display: list-item; margin-bottom: 0.3em; } ul ul { list-style-type: circle; } ul ul ul { list-style-type: square; } diff --git a/render/layout.c b/render/layout.c index d618af2f7..a135cc03c 100644 --- a/render/layout.c +++ b/render/layout.c @@ -2410,6 +2410,7 @@ void layout_lists(struct box *box) marker->y = 0; marker->height = line_height(marker->style); } + marker->x -= 4; // Gap between marker and content } layout_lists(child); } |