From 11e2e67e49afe0f3178d7992cd091e7d598fc8b3 Mon Sep 17 00:00:00 2001 From: OfficialBrot <36410565+OfficialFreak@users.noreply.github.com> Date: Mon, 25 Mar 2024 10:58:52 +0100 Subject: [PATCH] Fixed sizing issues --- client/src/components/Weekplan/Lesson.svelte | 8 +++++--- client/src/components/Weekplan/Weekplan.svelte | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/client/src/components/Weekplan/Lesson.svelte b/client/src/components/Weekplan/Lesson.svelte index 08e3f44..f1b2277 100644 --- a/client/src/components/Weekplan/Lesson.svelte +++ b/client/src/components/Weekplan/Lesson.svelte @@ -38,7 +38,7 @@ {/if}
-
+
{#if lesson.scheduled_class == null && lesson.current_class == null} - {:else} @@ -295,7 +295,6 @@ background: none; text-align: center; border-radius: 5px; - line-height: normal; } .subject { @@ -303,7 +302,10 @@ } .extra_padding { - padding: .05rem .5rem; + padding: .1rem .5rem; + @media only screen and (max-width: 900px) { + padding: .05rem .5rem; + } line-height: normal; } diff --git a/client/src/components/Weekplan/Weekplan.svelte b/client/src/components/Weekplan/Weekplan.svelte index 9a0cb01..b3b1f30 100644 --- a/client/src/components/Weekplan/Weekplan.svelte +++ b/client/src/components/Weekplan/Weekplan.svelte @@ -186,7 +186,7 @@