Skip to content

best way to save what you love

web/layout: more global styling for `long-text-noto`

wukkoe074dd5b899f
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;
- }
- }
</style>
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;