refac: styling

This commit is contained in:
Timothy Jaeryang Baek 2025-09-13 00:27:04 +04:00
parent d6094c2881
commit 680adea4e7

View file

@ -383,7 +383,7 @@
>
<slot>
{#if searchEnabled}
<div class="flex items-center gap-2.5 px-5 mt-3.5 mb-1.5">
<div class="flex items-center gap-2.5 px-4 mt-3.5 mb-1.5">
<Search className="size-4" strokeWidth="2.5" />
<input
@ -416,7 +416,7 @@
</div>
{/if}
<div class="px-3">
<div class="px-2">
{#if tags && items.filter((item) => !(item.model?.info?.meta?.hidden ?? false)).length > 0}
<div
class=" flex w-full bg-white dark:bg-gray-850 overflow-x-auto scrollbar-none mb-0.5"
@ -511,7 +511,7 @@
{/if}
</div>
<div class="px-3 max-h-64 overflow-y-auto group relative">
<div class="px-2 max-h-64 overflow-y-auto group relative">
{#each filteredItems as item, index}
<ModelItem
{selectedModelIdx}