From 7fe4a8f3b4cc8312ff7cc758e6966fddfe87ee5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Sat, 10 Aug 2024 14:35:29 +0200 Subject: [PATCH] style(webui): improve homepage on mobile --- webui/src/routes/+page.svelte | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webui/src/routes/+page.svelte b/webui/src/routes/+page.svelte index 4d99a5b..c9d26e0 100644 --- a/webui/src/routes/+page.svelte +++ b/webui/src/routes/+page.svelte @@ -15,7 +15,6 @@ import { i18n } from '$lib/i18n'; import { ATTR_ADDED, ATTR_IN, ATTR_KEY, ATTR_LABEL, HIER_ROOT_ADDR } from '@upnd/upend/constants'; import UpLink from '$lib/components/display/UpLink.svelte'; - import { goto } from '$app/navigation'; const roots = (async () => { const data = await api.fetchRoots(); @@ -345,6 +344,10 @@ padding: 0; gap: 1rem; list-style: none; + + @media screen and (max-width: 600px) { + flex-direction: column; + } } li {