fix: modal radius not follow preferences (#5063)

pull/58/MERGE
Netfan 2024-12-07 11:00:53 +08:00 committed by GitHub
parent d1862fba27
commit d42daf9ce0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ function handleFocusOutside(e: Event) {
ref="contentRef"
:class="
cn(
'left-0 right-0 top-[10vh] mx-auto flex max-h-[80%] w-[520px] flex-col p-0 sm:rounded-2xl',
'left-0 right-0 top-[10vh] mx-auto flex max-h-[80%] w-[520px] flex-col p-0 sm:rounded-[var(--radius)]',
modalClass,
{
'border-border border': bordered,