Compare commits
No commits in common. "78df40e598e36c08285719cfcf0238b3e77ebdcf" and "dc47683e4ceb0fccf8ac42f737e4975d2e2be607" have entirely different histories.
78df40e598
...
dc47683e4c
|
|
@ -1 +1 @@
|
||||||
1.0.28
|
1.0.25
|
||||||
|
|
@ -7,7 +7,6 @@
|
||||||
updateHistoryEntry,
|
updateHistoryEntry,
|
||||||
updateTopic,
|
updateTopic,
|
||||||
archiveTopic,
|
archiveTopic,
|
||||||
softDeleteTopic,
|
|
||||||
} from "$lib/db/repositories";
|
} from "$lib/db/repositories";
|
||||||
import { today } from "$lib/db/helpers";
|
import { today } from "$lib/db/helpers";
|
||||||
import { processedTopicIds, collapsedTopicIds } from "$lib/stores/agenda";
|
import { processedTopicIds, collapsedTopicIds } from "$lib/stores/agenda";
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@
|
||||||
import { sync } from "$lib/sync/syncService";
|
import { sync } from "$lib/sync/syncService";
|
||||||
import { refreshLockStatus } from "$lib/stores/aiLock";
|
import { refreshLockStatus } from "$lib/stores/aiLock";
|
||||||
import { onMount, onDestroy } from "svelte";
|
import { onMount, onDestroy } from "svelte";
|
||||||
import { afterNavigate } from "$app/navigation";
|
|
||||||
import type { Snippet } from "svelte";
|
import type { Snippet } from "svelte";
|
||||||
import {
|
import {
|
||||||
handleRedirect,
|
handleRedirect,
|
||||||
|
|
@ -73,7 +72,17 @@
|
||||||
sidebarOpen = false;
|
sidebarOpen = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
afterNavigate(() => closeSidebar());
|
$effect(() => {
|
||||||
|
if (sidebarOpen) {
|
||||||
|
document.body.style.overflow = 'hidden';
|
||||||
|
document.body.style.position = 'fixed';
|
||||||
|
document.body.style.width = '100%';
|
||||||
|
} else {
|
||||||
|
document.body.style.overflow = '';
|
||||||
|
document.body.style.position = '';
|
||||||
|
document.body.style.width = '';
|
||||||
|
}
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#if !authReady}
|
{#if !authReady}
|
||||||
|
|
@ -97,12 +106,10 @@
|
||||||
<div class="flex h-screen overflow-hidden">
|
<div class="flex h-screen overflow-hidden">
|
||||||
<!-- Sidebar: fullscreen on mobile, static on desktop -->
|
<!-- Sidebar: fullscreen on mobile, static on desktop -->
|
||||||
{#if sidebarOpen}
|
{#if sidebarOpen}
|
||||||
<!-- Backdrop -->
|
|
||||||
<div class="fixed inset-0 z-[59] bg-black/50 backdrop-blur-sm md:hidden" onclick={closeSidebar}></div>
|
|
||||||
<!-- Mobile: full-screen overlay -->
|
<!-- Mobile: full-screen overlay -->
|
||||||
<div class="fixed inset-0 z-[60] flex flex-col bg-sidebar md:hidden">
|
<div class="fixed inset-0 z-40 flex flex-col bg-sidebar md:hidden">
|
||||||
<!-- Header with close button -->
|
<!-- Header with close button -->
|
||||||
<div class="flex items-center justify-between border-b border-border px-5 py-4 shrink-0" style="padding-top: max(1rem, env(safe-area-inset-top));">
|
<div class="flex items-center justify-between border-b border-border px-5 py-4 shrink-0">
|
||||||
<span class="text-lg font-bold text-accent uppercase tracking-wider">Ka-Note</span>
|
<span class="text-lg font-bold text-accent uppercase tracking-wider">Ka-Note</span>
|
||||||
<button
|
<button
|
||||||
class="text-2xl text-muted hover:text-white leading-none"
|
class="text-2xl text-muted hover:text-white leading-none"
|
||||||
|
|
@ -130,10 +137,8 @@
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<!-- Bottom tab bar (mobile only, hidden when sidebar open) -->
|
<!-- Bottom tab bar (mobile only) -->
|
||||||
{#if !sidebarOpen}
|
<BottomTabBar onsidebaropen={toggleSidebar} />
|
||||||
<BottomTabBar onsidebaropen={toggleSidebar} />
|
|
||||||
{/if}
|
|
||||||
</div>
|
</div>
|
||||||
{:else}
|
{:else}
|
||||||
<div class="flex h-screen items-center justify-center bg-bg">
|
<div class="flex h-screen items-center justify-center bg-bg">
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 64 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 33 KiB |
Loading…
Reference in New Issue