forked from open-webui/open-webui
refac: transition
This commit is contained in:
parent
df21a92542
commit
3e0aa29683
4 changed files with 11 additions and 3 deletions
|
@ -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'}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue