From be92742e96c0880fa03035c6acaf9791f6791e86 Mon Sep 17 00:00:00 2001 From: Henri Date: Fri, 1 May 2026 00:25:56 +0300 Subject: [PATCH] smaller laptop screen fixes --- src/app.css | 7 +++++++ src/routes/Helpdesk.svelte | 37 ++++++++++++++++++------------------- src/routes/Student.svelte | 2 +- 3 files changed, 26 insertions(+), 20 deletions(-) diff --git a/src/app.css b/src/app.css index 32329cb..afd8230 100644 --- a/src/app.css +++ b/src/app.css @@ -135,6 +135,13 @@ input[type="submit"] { } } +/* Scale down UI for smaller screens */ +@media (max-width: 1280px) { + :root { + --ui-scale: 0.8; + } +} + /* Accessibility settings */ @media (prefers-reduced-motion: reduce) { * { diff --git a/src/routes/Helpdesk.svelte b/src/routes/Helpdesk.svelte index f0d9e0f..0574863 100644 --- a/src/routes/Helpdesk.svelte +++ b/src/routes/Helpdesk.svelte @@ -56,24 +56,25 @@
-
-
- {$text["hero"]?.title +
+ - - - Helpdesk - -
+
+ {$text["hero"]?.title +
+
-

{$text["whatIs"]?.title || ""}

@@ -81,7 +82,6 @@

-

{$text["services"]?.title || ""}

    @@ -127,7 +127,6 @@

-

{@html $text["hours"]?.title || ""} @@ -158,8 +157,8 @@ class="flex flex-col items-center hover:scale-110 transition-transform cursor-pointer" title="Get directions to Akadeemia tee 5" > - Akadeemia tee 5 - + Akadeemia tee 5 +

@@ -174,7 +173,7 @@ title="Get directions to Keemia bus stop" > Keemia - +
@@ -189,7 +188,7 @@ title="Get directions to Tehnikaülikool bus stop" > Tehnikaülikool - +
diff --git a/src/routes/Student.svelte b/src/routes/Student.svelte index a4a5d3b..5356409 100644 --- a/src/routes/Student.svelte +++ b/src/routes/Student.svelte @@ -52,7 +52,7 @@
-
+