mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
feat(components): [el-dialog] add border-radius css variable (#6412)
This commit is contained in:
@@ -661,6 +661,7 @@ $dialog: map.merge(
|
||||
'content-font-size': 14px,
|
||||
'font-line-height': var(--el-font-line-height-primary),
|
||||
'padding-primary': 20px,
|
||||
'border-radius': var(--el-border-radius-small),
|
||||
),
|
||||
$dialog
|
||||
);
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
position: relative;
|
||||
margin: var(--el-dialog-margin-top, 15vh) auto 50px;
|
||||
background: var(--el-dialog-bg-color);
|
||||
border-radius: var(--el-border-radius-small);
|
||||
border-radius: var(--el-dialog-border-radius);
|
||||
box-shadow: var(--el-dialog-box-shadow);
|
||||
box-sizing: border-box;
|
||||
width: var(--el-dialog-width, 50%);
|
||||
|
||||
Reference in New Issue
Block a user