mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac: transition
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
import Tooltip from '../common/Tooltip.svelte';
|
||||
import Dropdown from '../common/Dropdown.svelte';
|
||||
import ChatMenu from './Sidebar/ChatMenu.svelte';
|
||||
import { flyAndScale } from '$lib/utils/transitions';
|
||||
|
||||
let show = false;
|
||||
let navElement;
|
||||
@@ -577,7 +578,7 @@
|
||||
<div
|
||||
id="dropdownDots"
|
||||
class="absolute z-40 bottom-[70px] 4.5rem rounded-xl shadow w-[240px] bg-white dark:bg-gray-900"
|
||||
in:slide={{ duration: 150 }}
|
||||
in:flyAndScale={{ y: 5 }}
|
||||
>
|
||||
<div class="py-2 w-full">
|
||||
{#if $user.role === 'admin'}
|
||||
|
||||
Reference in New Issue
Block a user