style(webui): improve homepage on mobile
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Tomáš Mládek 2024-08-10 14:35:29 +02:00
parent ec7af7d699
commit 7fe4a8f3b4

View file

@ -15,7 +15,6 @@
import { i18n } from '$lib/i18n'; import { i18n } from '$lib/i18n';
import { ATTR_ADDED, ATTR_IN, ATTR_KEY, ATTR_LABEL, HIER_ROOT_ADDR } from '@upnd/upend/constants'; 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 UpLink from '$lib/components/display/UpLink.svelte';
import { goto } from '$app/navigation';
const roots = (async () => { const roots = (async () => {
const data = await api.fetchRoots(); const data = await api.fetchRoots();
@ -345,6 +344,10 @@
padding: 0; padding: 0;
gap: 1rem; gap: 1rem;
list-style: none; list-style: none;
@media screen and (max-width: 600px) {
flex-direction: column;
}
} }
li { li {