feat(components): [el-dialog] add border-radius css variable (#6412)

This commit is contained in:
msidolphin
2022-03-05 20:35:07 +08:00
committed by GitHub
parent d6ce14500d
commit f3b4e54c0c
2 changed files with 2 additions and 1 deletions

View File

@@ -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
);

View File

@@ -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%);