refac: styling

This commit is contained in:
Timothy Jaeryang Baek 2025-08-08 18:48:27 +04:00
parent 69f6fbe4e7
commit c42c1ee632
2 changed files with 4 additions and 2 deletions

View file

@ -15,7 +15,7 @@
? 'md:max-w-[calc(100%-260px)]'
: ''} max-w-full"
>
<nav class=" px-2 pt-1.5 ml-0.5 backdrop-blur-xl w-full drag-region">
<nav class=" px-2 pt-1.5 backdrop-blur-xl w-full drag-region">
<div class=" flex items-center">
{#if $mobile}
<div class="{$showSidebar ? 'md:hidden' : ''} flex flex-none items-center">

View file

@ -1,8 +1,10 @@
<script lang="ts">
import { page } from '$app/stores';
import { showSidebar } from '$lib/stores';
import NoteEditor from '$lib/components/notes/NoteEditor.svelte';
</script>
<div id="note-container" class="w-full h-full">
<div id="note-container" class="w-full h-full {$showSidebar ? 'md:max-w-[calc(100%-260px)]' : ''}">
<NoteEditor id={$page.params.id} />
</div>