enhance(ux): fix the editor popup flicker when exiting

This commit is contained in:
charlie
2024-04-24 16:11:15 +08:00
parent 7bd25fa2c3
commit 64a06568f7
2 changed files with 9 additions and 4 deletions

View File

@@ -102,7 +102,7 @@ pre {
}
&[data-editor-popup-ref=commands] {
@apply px-1 py-1 w-72 data-[state=closed]:animate-none;
@apply px-1 py-1 w-72;
&[data-side=top] {
max-height: min(calc(var(--radix-popover-content-available-height) - 60px), 460px);