From e074dd5b899ff0c7d3cd1f1313c4edf854982510 Mon Sep 17 00:00:00 2001 From: wukko Date: Tue, 6 Aug 2024 14:50:12 +0600 Subject: [PATCH] web/layout: more global styling for `long-text-noto` --- .../components/changelog/ChangelogEntry.svelte | 15 --------------- web/src/routes/+layout.svelte | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/web/src/components/changelog/ChangelogEntry.svelte b/web/src/components/changelog/ChangelogEntry.svelte index fa64818c..34419751 100644 --- a/web/src/components/changelog/ChangelogEntry.svelte +++ b/web/src/components/changelog/ChangelogEntry.svelte @@ -162,19 +162,4 @@ .changelog-body { width: 100%; } - - .changelog-body :global(ul) { - padding-inline-start: 30px; - } - - .changelog-body :global(li) { - padding-left: 3px; - } - - @media screen and (max-width: 535px) { - .changelog-body, - .changelog-body :global(*) { - font-size: 14px; - } - } diff --git a/web/src/routes/+layout.svelte b/web/src/routes/+layout.svelte index c0675d1d..06336519 100644 --- a/web/src/routes/+layout.svelte +++ b/web/src/routes/+layout.svelte @@ -443,6 +443,21 @@ -webkit-user-select: text; } + :global(.long-text-noto ul) { + padding-inline-start: 30px; + } + + :global(.long-text-noto li) { + padding-left: 3px; + } + + @media screen and (max-width: 535px) { + :global(.long-text-noto), + :global(.long-text-noto *) { + font-size: 14px; + } + } + [data-reduce-motion="true"] :global(*) { animation: none !important; transition: none !important;