mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 20:35:19 +00:00
refac: styling
This commit is contained in:
parent
69f6fbe4e7
commit
c42c1ee632
2 changed files with 4 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
||||||
? 'md:max-w-[calc(100%-260px)]'
|
? 'md:max-w-[calc(100%-260px)]'
|
||||||
: ''} max-w-full"
|
: ''} 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">
|
<div class=" flex items-center">
|
||||||
{#if $mobile}
|
{#if $mobile}
|
||||||
<div class="{$showSidebar ? 'md:hidden' : ''} flex flex-none items-center">
|
<div class="{$showSidebar ? 'md:hidden' : ''} flex flex-none items-center">
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,10 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { page } from '$app/stores';
|
import { page } from '$app/stores';
|
||||||
|
import { showSidebar } from '$lib/stores';
|
||||||
|
|
||||||
import NoteEditor from '$lib/components/notes/NoteEditor.svelte';
|
import NoteEditor from '$lib/components/notes/NoteEditor.svelte';
|
||||||
</script>
|
</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} />
|
<NoteEditor id={$page.params.id} />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue