Skip to content

Commit ed27222

Browse files
authoredNov 28, 2024··
fix(ContextMenu): remove close animation (#2798)
1 parent f06fbaf commit ed27222

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/theme/context-menu.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { ModuleOptions } from '../module'
22

33
export default (options: Required<ModuleOptions>) => ({
44
slots: {
5-
content: 'min-w-32 bg-[var(--ui-bg)] shadow-lg rounded-[calc(var(--ui-radius)*1.5)] ring ring-[var(--ui-border)] divide-y divide-[var(--ui-border)] overflow-y-auto scroll-py-1 data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in]',
5+
content: 'min-w-32 bg-[var(--ui-bg)] shadow-lg rounded-[calc(var(--ui-radius)*1.5)] ring ring-[var(--ui-border)] divide-y divide-[var(--ui-border)] overflow-y-auto scroll-py-1 data-[state=open]:animate-[scale-in_100ms_ease-out]',
66
group: 'p-1 isolate',
77
label: 'w-full flex items-center font-semibold text-[var(--ui-text-highlighted)]',
88
separator: '-mx-1 my-1 h-px bg-[var(--ui-border)]',

0 commit comments

Comments
 (0)
Please sign in to comment.