Commit d42daf9c by Netfan Committed by GitHub

fix: modal radius not follow preferences (#5063)

1 parent d1862fba
......@@ -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,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!