Compare commits

..

No commits in common. "78df40e598e36c08285719cfcf0238b3e77ebdcf" and "dc47683e4ceb0fccf8ac42f737e4975d2e2be607" have entirely different histories.

5 changed files with 16 additions and 12 deletions

View File

@ -1 +1 @@
1.0.28
1.0.25

View File

@ -7,7 +7,6 @@
updateHistoryEntry,
updateTopic,
archiveTopic,
softDeleteTopic,
} from "$lib/db/repositories";
import { today } from "$lib/db/helpers";
import { processedTopicIds, collapsedTopicIds } from "$lib/stores/agenda";

View File

@ -7,7 +7,6 @@
import { sync } from "$lib/sync/syncService";
import { refreshLockStatus } from "$lib/stores/aiLock";
import { onMount, onDestroy } from "svelte";
import { afterNavigate } from "$app/navigation";
import type { Snippet } from "svelte";
import {
handleRedirect,
@ -73,7 +72,17 @@
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>
{#if !authReady}
@ -97,12 +106,10 @@
<div class="flex h-screen overflow-hidden">
<!-- Sidebar: fullscreen on mobile, static on desktop -->
{#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 -->
<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 -->
<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>
<button
class="text-2xl text-muted hover:text-white leading-none"
@ -130,10 +137,8 @@
</div>
</main>
<!-- Bottom tab bar (mobile only, hidden when sidebar open) -->
{#if !sidebarOpen}
<BottomTabBar onsidebaropen={toggleSidebar} />
{/if}
<!-- Bottom tab bar (mobile only) -->
<BottomTabBar onsidebaropen={toggleSidebar} />
</div>
{:else}
<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