浏览代码

fix: update modal component to use relative positioning (#23855)

tags/1.8.0
Wu Tianwei 2 个月前
父节点
当前提交
ad2bc7f8ac
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      web/app/components/base/modal/index.tsx

+ 1
- 1
web/app/components/base/modal/index.tsx 查看文件

@@ -52,7 +52,7 @@ export default function Modal({
<div className="flex min-h-full items-center justify-center p-4 text-center">
<TransitionChild>
<DialogPanel className={classNames(
'w-full max-w-[480px] rounded-2xl bg-components-panel-bg p-6 text-left align-middle shadow-xl transition-all',
'relative w-full max-w-[480px] rounded-2xl bg-components-panel-bg p-6 text-left align-middle shadow-xl transition-all',
overflowVisible ? 'overflow-visible' : 'overflow-hidden',
'duration-100 ease-in data-[closed]:scale-95 data-[closed]:opacity-0',
'data-[enter]:scale-100 data-[enter]:opacity-100',

正在加载...
取消
保存