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> </HorizonalStack>
<style> <style>
.JustifyStart{ :global(.JustifyStart){
display: flex; display: flex;
justify-content: start; justify-content: start;
} }

View File

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