fix(css): global main ul/ol bullet rules respect .not-prose opt-out
Deploy / verify (push) Successful in 38s
Deploy / deploy (push) Successful in 58s

The global typography rules in app.css (main ul li → list-style: disc)
ran independently of Tailwind Typography, so `not-prose` on the
gallery grid couldn't suppress the bullets. Adding :not(.not-prose)
to those selectors makes the same opt-out class work for both
prose-managed and globally-styled lists, so the gallery grid renders
without disc markers and any future grid-of-list use case can opt out
the same way.
This commit is contained in:
Peter Meier
2026-04-25 10:34:58 +02:00
parent 1154be3c25
commit 9946061105
+4 -4
View File
@@ -295,21 +295,21 @@ main strong {
font-weight: 600;
}
main ul {
main ul:not(.not-prose) {
margin-left: 1em;
margin-bottom: 1em;
}
main ul li {
main ul:not(.not-prose) li {
list-style: disc;
}
main ol {
main ol:not(.not-prose) {
margin-left: 1.1em;
margin-bottom: 1em;
}
main ol li {
main ol:not(.not-prose) li {
list-style-type: decimal;
}