diff --git a/public/css/index-tailwind-output.css b/public/css/index-tailwind-output.css index 194f75757..3f4e49676 100644 --- a/public/css/index-tailwind-output.css +++ b/public/css/index-tailwind-output.css @@ -2420,6 +2420,28 @@ button.small, color: var(--low-interaction-foreground); } +.button.theme-button { + margin: 0; + margin-top: 0.25rem; + margin-bottom: 0.25rem; + /* Margin should be removed on larger screens */ + @media (min-width: 768px) { + margin: 0; + + margin-top: 0; + + margin-bottom: 0; + } + /* Experimental support for foldable devices */ + @media (horizontal-viewport-segments: 2) { + margin: 0; + + margin-top: 0; + + margin-bottom: 0; + } +} + button, .button { align-items: center; @@ -2440,10 +2462,6 @@ button, color: var(--low-interaction-foreground); } -.theme-button { - margin: 0 !important; -} - .button-shadow { box-shadow: 0 5px 10px #88888888; } diff --git a/src/UI/AllThemesGui.svelte b/src/UI/AllThemesGui.svelte index 5c1694fb4..0809f0838 100644 --- a/src/UI/AllThemesGui.svelte +++ b/src/UI/AllThemesGui.svelte @@ -136,7 +136,7 @@
- diff --git a/src/UI/BigComponents/ThemesList.svelte b/src/UI/BigComponents/ThemesList.svelte index 4a6f4ec96..29ba02ef6 100644 --- a/src/UI/BigComponents/ThemesList.svelte +++ b/src/UI/BigComponents/ThemesList.svelte @@ -24,7 +24,7 @@
-
+
{#each filteredThemes as theme (theme.id)} {#if theme !== undefined && !(hideThemes && theme?.hideFromOverview)} diff --git a/src/index.css b/src/index.css index 49247d260..11c9f1e21 100644 --- a/src/index.css +++ b/src/index.css @@ -184,6 +184,26 @@ button.small, color: var(--low-interaction-foreground); } +.button.theme-button { + margin: 0; + margin-top: 0.25rem; + margin-bottom: 0.25rem; + + /* Margin should be removed on larger screens */ + @media (min-width: 768px) { + margin: 0; + margin-top: 0; + margin-bottom: 0; + } + + /* Experimental support for foldable devices */ + @media (horizontal-viewport-segments: 2) { + margin: 0; + margin-top: 0; + margin-bottom: 0; + } +} + button, .button { align-items: center; @@ -204,10 +224,6 @@ button, color: var(--low-interaction-foreground); } -.theme-button { - margin: 0 !important; -} - .button-shadow { box-shadow: 0 5px 10px #88888888; }