mirror of
https://github.com/open-webui/open-webui
synced 2025-02-06 13:10:16 +00:00
refac: styling
This commit is contained in:
parent
d7ce408d25
commit
dfc2fb65af
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
<div slot="content">
|
<div slot="content">
|
||||||
<DropdownMenu.Content
|
<DropdownMenu.Content
|
||||||
class="w-full max-w-[180px] rounded-lg px-1 py-1.5 border border-gray-300/30 dark:border-gray-700/50 z-[9999] bg-white dark:bg-gray-900 dark:text-white shadow"
|
class="w-full max-w-[180px] rounded-lg px-1 py-1.5 border border-gray-300/30 dark:border-gray-700/50 z-[9999] bg-white dark:bg-gray-900 dark:text-white shadow-sm"
|
||||||
sideOffset={6}
|
sideOffset={6}
|
||||||
side="top"
|
side="top"
|
||||||
align="start"
|
align="start"
|
||||||
@ -34,7 +34,7 @@
|
|||||||
>
|
>
|
||||||
{#each devices as device}
|
{#each devices as device}
|
||||||
<DropdownMenu.Item
|
<DropdownMenu.Item
|
||||||
class="flex gap-2 items-center px-3 py-2 text-sm font-medium cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 rounded-md"
|
class="flex gap-2 items-center px-3 py-2 text-sm cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 rounded-md"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
dispatch('change', device.deviceId);
|
dispatch('change', device.deviceId);
|
||||||
}}
|
}}
|
||||||
|
Loading…
Reference in New Issue
Block a user