From 44fe585a8920fd926b2edf6e160eac6c81a91ee0 Mon Sep 17 00:00:00 2001 From: wukko Date: Tue, 5 Nov 2024 12:46:18 +0600 Subject: [PATCH] web/layout: fix paragraph title alignment in about tab oops --- web/src/routes/+layout.svelte | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/web/src/routes/+layout.svelte b/web/src/routes/+layout.svelte index a9d68837..03bebef3 100644 --- a/web/src/routes/+layout.svelte +++ b/web/src/routes/+layout.svelte @@ -484,9 +484,9 @@ padding-left: 3px; } - :global(.long-text-noto h1), - :global(.long-text-noto h2), - :global(.long-text-noto h3) { + :global(.long-text-noto:not(.about) h1), + :global(.long-text-noto:not(.about) h2), + :global(.long-text-noto:not(.about) h3) { user-select: text; -webkit-user-select: text; letter-spacing: 0; @@ -495,11 +495,18 @@ :global(.long-text-noto h3) { font-size: 17px; - margin-block-end: -0.5rem; } :global(.long-text-noto h2) { font-size: 19px; + } + + :global(.long-text-noto:not(.about) h3) { + margin-block-end: -0.5rem; + } + + :global(.long-text-noto:not(.about) h2) { + font-size: 19px; line-height: 1.3; margin-block-end: -0.3rem; }