mirror of
https://github.com/open-webui/open-webui
synced 2025-02-07 21:47:29 +00:00
refac: styling
This commit is contained in:
parent
ce1712fed1
commit
ac5bdac161
@ -5,7 +5,7 @@
|
|||||||
let selected = '';
|
let selected = '';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="min-w-[4.5rem] bg-gray-50 dark:bg-gray-950 flex gap-2.5 flex-col pt-10">
|
<div class="min-w-[4.5rem] bg-gray-50 dark:bg-gray-950 flex gap-2.5 flex-col pt-9">
|
||||||
<div class="flex justify-center relative">
|
<div class="flex justify-center relative">
|
||||||
{#if selected === 'home'}
|
{#if selected === 'home'}
|
||||||
<div class="absolute top-0 left-0 flex h-full">
|
<div class="absolute top-0 left-0 flex h-full">
|
||||||
|
@ -153,6 +153,10 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
const channelEventHandler = async (event) => {
|
const channelEventHandler = async (event) => {
|
||||||
|
if (event.data?.type === 'typing') {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// check url path
|
// check url path
|
||||||
const channel = $page.url.pathname.includes(`/channels/${event.channel_id}`);
|
const channel = $page.url.pathname.includes(`/channels/${event.channel_id}`);
|
||||||
|
|
||||||
@ -359,7 +363,7 @@
|
|||||||
<div class="flex flex-row h-screen">
|
<div class="flex flex-row h-screen">
|
||||||
<AppControls />
|
<AppControls />
|
||||||
|
|
||||||
<div class="w-full flex-1">
|
<div class="w-full flex-1 max-w-[calc(100%-4.5rem)]">
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user