mirror of
https://github.com/open-webui/open-webui
synced 2024-11-06 08:56:39 +00:00
refac: styling
This commit is contained in:
parent
d77657f0d0
commit
e8a3fe2e07
@ -1008,7 +1008,9 @@
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
{#if $banners.length > 0 && !$chatId}
|
{#if $banners.length > 0 && !$chatId}
|
||||||
<div class="absolute top-16 w-full {$showSidebar ? 'md:max-w-[calc(100%-260px)]' : ''}">
|
<div
|
||||||
|
class="absolute top-[4.25rem] w-full {$showSidebar ? 'md:max-w-[calc(100%-260px)]' : ''}"
|
||||||
|
>
|
||||||
<div class=" flex flex-col gap-1 w-full">
|
<div class=" flex flex-col gap-1 w-full">
|
||||||
{#each $banners.filter( (b) => (b.dismissible ? !JSON.parse(localStorage.getItem('dismissedBannerIds') ?? '[]').includes(b.id) : true) ) as banner}
|
{#each $banners.filter( (b) => (b.dismissible ? !JSON.parse(localStorage.getItem('dismissedBannerIds') ?? '[]').includes(b.id) : true) ) as banner}
|
||||||
<Banner
|
<Banner
|
||||||
|
Loading…
Reference in New Issue
Block a user