diff --git a/package.json b/package.json index fccd4bfa..821b5ded 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "check-password-strength": "2.0.2", "@odit/lfk-client-js": "0.10.1", "@odit/license-exporter": "0.0.11", - "@sveltejs/vite-plugin-svelte": "1.0.0-next.5", + "@sveltejs/vite-plugin-svelte": "1.0.0-next.6", "@types/html-minifier": "4.0.0", "auto-changelog": "2.2.1", "autoprefixer": "10.2.5", @@ -28,12 +28,12 @@ "svelte-i18n": "3.3.9", "svelte-preprocess": "4.7.0", "svelte-select": "3.17.0", - "tailwindcss": "2.0.4", + "tailwindcss": "2.1.1", "tinro": "0.6.1", "toastify-js": "1.10.0", "validator": "13.5.2", "vite": "2.1.5", - "vite-plugin-windicss": "0.12.2", + "vite-plugin-windicss": "0.12.5", "xlsx": "0.16.9" }, "release-it": { diff --git a/src/components/dashboard/Dashboard.svelte b/src/components/dashboard/Dashboard.svelte index 05e56c70..d3945493 100644 --- a/src/components/dashboard/Dashboard.svelte +++ b/src/components/dashboard/Dashboard.svelte @@ -1,207 +1,293 @@
- + + {/if}
{ - navOpen = true; - }} class="flex items-center justify-between w-full px-4 bg-white border-b h-14 md:hidden"> -
- {#if navOpen} -
{ - navOpen = false; - console.log({navOpen}); - }} - class:bg-opacity-0={!navOpen} - class:bg-opacity-25={navOpen} - class="fixed inset-0 z-10 w-screen h-screen bg-black md:hidden bg-opacity-0" /> - {/if} -
+ {#if navOpen === true} +
{ + navOpen = false; + console.log({ navOpen }); + }} + class:hidden={!navOpen} + class="fixed inset-0 z-10 w-screen h-screen bg-black bg-opacity-25 md:hidden" /> + {/if} +