Browse Source

refac: styling

Timothy J. Baek 11 tháng trước cách đây
mục cha
commit
e8a3fe2e07
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      src/lib/components/chat/Chat.svelte

+ 3 - 1
src/lib/components/chat/Chat.svelte

@@ -1008,7 +1008,9 @@
 		/>
 
 		{#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">
 					{#each $banners.filter( (b) => (b.dismissible ? !JSON.parse(localStorage.getItem('dismissedBannerIds') ?? '[]').includes(b.id) : true) ) as banner}
 						<Banner