mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 03:47:49 +01:00
refac: styling
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user