Updated packages and noprint now working better

This commit is contained in:
BOTAlex 2024-06-05 05:10:02 +02:00
parent 23ade8d085
commit 76cba0b60d
3 changed files with 1566 additions and 1704 deletions

3264
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@
</HorizonalStack>
<style>
.JustifyStart{
:global(.JustifyStart){
display: flex;
justify-content: start;
}

View File

@ -15,8 +15,8 @@
navbarHidden = true;
}
import { onMount } from 'svelte';
onMount(async () => {
import { afterNavigate } from '$app/navigation';
afterNavigate(() => {
const params = new URLSearchParams(window.location.search);
hideOnPrint = params.get('hideOnPrint') === '1';
console.log(hideOnPrint);