From 9946061105c174929cfb6df9f0c0a38c3b4e54c6 Mon Sep 17 00:00:00 2001 From: Peter Meier Date: Sat, 25 Apr 2026 10:34:58 +0200 Subject: [PATCH] fix(css): global main ul/ol bullet rules respect .not-prose opt-out MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- src/app.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app.css b/src/app.css index 8c619be..0b2e5e8 100644 --- a/src/app.css +++ b/src/app.css @@ -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; }