refac: selector styling

This commit is contained in:
Timothy J. Baek 2024-10-19 01:44:45 -07:00
parent c993cc5515
commit 971e54d7b4

View File

@ -250,10 +250,10 @@
<DropdownMenu.Content <DropdownMenu.Content
class=" z-40 {$mobile class=" z-40 {$mobile
? `w-full` ? `w-full`
: `${className}`} max-w-[calc(100vw-1rem)] justify-start rounded-xl bg-white dark:bg-gray-850 dark:text-white shadow-lg border border-gray-300/30 dark:border-gray-700/40 outline-none" : `${className}`} max-w-[calc(100vw-1rem)] justify-start rounded-xl bg-white dark:bg-gray-850 dark:text-white shadow-lg outline-none"
transition={flyAndScale} transition={flyAndScale}
side={$mobile ? 'bottom' : 'bottom-start'} side={$mobile ? 'bottom' : 'bottom-start'}
sideOffset={4} sideOffset={3}
> >
<slot> <slot>
{#if searchEnabled} {#if searchEnabled}
@ -286,7 +286,7 @@
/> />
</div> </div>
<hr class="border-gray-100 dark:border-gray-800" /> <hr class="border-gray-50 dark:border-gray-850" />
{/if} {/if}
<div class="px-3 my-2 max-h-64 overflow-y-auto scrollbar-hidden group"> <div class="px-3 my-2 max-h-64 overflow-y-auto scrollbar-hidden group">
@ -532,7 +532,7 @@
</div> </div>
{#if showTemporaryChatControl} {#if showTemporaryChatControl}
<hr class="border-gray-100 dark:border-gray-800" /> <hr class="border-gray-50 dark:border-gray-850" />
<div class="flex items-center mx-2 my-2"> <div class="flex items-center mx-2 my-2">
<button <button