mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 04:26:50 +03:00
Fix gap between list marker and list content.
svn path=/trunk/netsurf/; revision=3040
This commit is contained in:
parent
df7912f96b
commit
5adbed530c
@ -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; }
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user