fix(css): global main ul/ol bullet rules respect .not-prose opt-out
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:
+4
-4
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user