mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:27:35 +00:00
LibWeb: Fix misplaced bullet points on list items
The bullet point should not be centered in the height of the list item, but rather stay in front of the first line. So, instead of giving the marker the full height of the ListItemBox, it gets the height of a single line. This closes #6384
This commit is contained in:
parent
e3c634fdd0
commit
7744048d0f
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ void ListItemBox::layout_marker()
|
|||
}
|
||||
|
||||
m_marker->set_offset(-8, 0);
|
||||
m_marker->set_size(4, height());
|
||||
m_marker->set_size(4, line_height());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue