fix: DialogContent 添加默认 padding p-6,修复确认弹框布局压缩问题
- dialog.tsx: DialogContent 基础样式加 p-6 (24px padding) - ConfirmDialog.tsx: 按钮区域间距 pt-2 → pt-4 - 修复所有使用 Radix Dialog 的弹框内容紧贴边缘的问题
This commit is contained in:
1 parent
dce6b8cc28
commit
363753653e
2 files changed
+2
-2
No files matched your search
@@ -41,7 +41,7 @@ export function ConfirmDialog({
|
||||
{description}
|
||||
</DialogDescription>
|
||||
)}
|
||||
<div className="flex justify-end gap-2 pt-2">
|
||||
<div className="flex justify-end gap-2 pt-4">
|
||||
<Button variant="ghost" size="sm" onClick={onCancel}>
|
||||
{cancelText}
|
||||
</Button>
|
||||
|
||||
Reference in new issue
Block a user