Remove old styles

This commit is contained in:
Alessio Davoli 2023-12-12 16:25:11 +01:00
parent d6fb920b18
commit 85e6287ede
3 changed files with 14 additions and 3 deletions

View file

@ -12,7 +12,6 @@
let component = InfoTab;
onMount(() => {
const gbcr = ref.getBoundingClientRect();
console.log(gbcr);
ref.style.height = `${gbcr.height}px`;
});

View file

@ -1,10 +1,22 @@
<script lang="ts">
import Path from '$lib/components/Path.svelte';
import Splash from '$lib/components/Splash.svelte';
import { onNavigate } from '$app/navigation';
export let data;
let categories = data.categories;
onNavigate((navigation) => {
if (!document.startViewTransition) return;
return new Promise((resolve) => {
document.startViewTransition(async () => {
resolve();
await navigation.complete;
});
});
});
</script>
<Splash />
@ -32,6 +44,7 @@
font-size: 22px;
}
#welcome-message {
padding-top: 20px;
font-size: 18px;
display: grid;
width: 100%;

View file

@ -32,7 +32,6 @@
justify-content: center;
gap: 15px;
padding-top: 10px;
margin-top: 70px;
overflow-y: scroll;
}
</style>