feat: add himBH-popover-border-radius variable (element-plus#2094) (#2095)

Co-authored-by: yangyu8 <yangyu8@kingsoft.com>
This commit is contained in:
msidolphin
2021-06-03 15:37:12 +08:00
committed by GitHub
parent 58fc477725
commit 77631999d1
3 changed files with 3 additions and 2 deletions

View File

@@ -634,6 +634,7 @@ $--popover-padding-large: 18px 20px !default;
$--popover-title-font-size: 16px !default;
/// color||Color|0
$--popover-title-font-color: $--color-text-primary !default;
$--popover-border-radius: 4px !default;
/* Tooltip
-------------------------- */

View File

@@ -6,7 +6,7 @@
&.#{$namespace}-popper {
background: $--popover-background-color;
min-width: 150px;
border-radius: 4px;
border-radius: $--popover-border-radius;
border: 1px solid $--popover-border-color;
padding: $--popover-padding;
z-index: $--index-popper;

View File

@@ -3,7 +3,7 @@
@include b(popper) {
position: absolute;
border-radius: 4px;
border-radius: $--popover-border-radius;
padding: 10px;
z-index: 2000;
font-size: 12px;