From f62c986a22eab052db8d6891c6c586ae20184e80 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Wed, 28 May 2025 09:29:13 -0500 Subject: [PATCH] Tighten blocks, add explicit spacing --- app/assets/stylesheets/rich-text-content.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/rich-text-content.css b/app/assets/stylesheets/rich-text-content.css index 3ca33efe2..3fcd9c7f4 100644 --- a/app/assets/stylesheets/rich-text-content.css +++ b/app/assets/stylesheets/rich-text-content.css @@ -20,7 +20,7 @@ :where(h5) { font-size: 0.83em; } :where(h6) { font-size: 0.67em; } - :where(p, ul, ol, dl, blockquote, figure) { + :where(p, ul, ol, dl, blockquote, figure, .attachment) { margin-block: var(--block-margin); overflow-wrap: break-word; text-wrap: pretty; @@ -81,7 +81,7 @@ font-size: var(--text-small); flex-wrap: wrap; line-height: 1.3; - gap: 0.5ch; + column-gap: 0.5ch; justify-content: center; margin: var(--block-space-half) var(--inline-space); text-align: center;