Skip to content

Commit

Permalink
update layout
Browse files Browse the repository at this point in the history
  • Loading branch information
birdpump committed May 1, 2024
1 parent 7cc4c1a commit 7622a0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/(admin)/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
let isSmallScreen = false;
onMount(() => {
isSmallScreen = window.innerWidth < 600;
const updateScreenSize = () => {
isSmallScreen = window.innerWidth < 600;
};
Expand Down

0 comments on commit 7622a0d

Please sign in to comment.