Skip to content

Conversation

@acelaya
Copy link
Collaborator

@acelaya acelaya commented Jun 27, 2025

Part of hypothesis/h#9671

The StyledText.css stylesheet defines the list style type for ol and ul, but not for li, assuming it will inherit the value based on where it is used.

This has caused in h, where we have resets for the three of them, to have lists display with no list style type:

image

This PR sets the list style type explicitly for lis as well, so that it overrides potential page style resets. With these changes, this is how it looks in h:

image

@acelaya acelaya requested a review from robertknight June 27, 2025 09:07
@acelaya acelaya merged commit 6bc97ad into main Jun 27, 2025
2 checks passed
@acelaya acelaya deleted the li-style-type branch June 27, 2025 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants