mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
enh: user status indicator
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
import { flyAndScale } from '$lib/utils/transitions';
|
||||
|
||||
export let show = false;
|
||||
export let side = 'bottom';
|
||||
export let align = 'start';
|
||||
const dispatch = createEventDispatcher();
|
||||
</script>
|
||||
|
||||
@@ -24,8 +26,8 @@
|
||||
<DropdownMenu.Content
|
||||
class="w-full max-w-[130px] rounded-lg px-1 py-1.5 border border-gray-900 z-50 bg-gray-850 text-white"
|
||||
sideOffset={8}
|
||||
side="bottom"
|
||||
align="start"
|
||||
{side}
|
||||
{align}
|
||||
transition={flyAndScale}
|
||||
>
|
||||
<DropdownMenu.Item class="flex items-center px-3 py-2 text-sm font-medium">
|
||||
|
||||
Reference in New Issue
Block a user