summaryrefslogtreecommitdiff
path: root/ui/routes/(app)
diff options
context:
space:
mode:
Diffstat (limited to 'ui/routes/(app)')
-rw-r--r--ui/routes/(app)/+layout.svelte15
1 files changed, 1 insertions, 14 deletions
diff --git a/ui/routes/(app)/+layout.svelte b/ui/routes/(app)/+layout.svelte
index 9843979..f860a6d 100644
--- a/ui/routes/(app)/+layout.svelte
+++ b/ui/routes/(app)/+layout.svelte
@@ -12,14 +12,6 @@
let loading = true;
let events = null;
- let showMenuValue;
- showMenu.subscribe((value) => {
- showMenuValue = value;
- });
-
- function toggleMenu() {
- showMenu.update((value) => !value);
- }
$: channel = $page?.params?.channel;
@@ -70,7 +62,7 @@
<h2>Loading&hellip;</h2>
{:else}
<div id="interface" class="p-2">
- <nav id="sidebar" data-expanded={showMenuValue}>
+ <nav id="sidebar" data-expanded={$showMenu}>
<div class="channel-list">
<ChannelList active={channel} />
</div>
@@ -120,11 +112,6 @@
height: calc(100vh - var(--app-bar-height) - var(--interface-padding));
z-index: 10;
}
- nav button {
- position: absolute;
- top: 0;
- right: 0;
- }
main {
grid-area: main;
height: calc(100vh - var(--app-bar-height) - var(--interface-padding));