fix: fix color-picker popover popconfirm style (#584)

This commit is contained in:
zazzaz 2020-11-16 11:07:57 +08:00 committed by GitHub
parent 1d26a350b0
commit 790d831c63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 4 deletions

View File

@ -3,7 +3,6 @@
v-model:visible="visible"
:trigger="['click']"
effect="light"
pure
popper-class="el-popover"
>
<div class="el-popconfirm">

View File

@ -89,7 +89,6 @@ export default defineComponent({
popperClass: kls,
popperStyle: popperStyle,
popperId,
pure: true,
visibility,
onMouseEnter: onPopperMouseEnter,
onMouseLeave: onPopperMouseLeave,

View File

@ -13,7 +13,7 @@ interface IRenderPopperProps {
popperStyle?: Partial<CSSStyleDeclaration>
popperId: string
popperRef?: Ref<HTMLElement>
pure: boolean
pure?: boolean
visibility: boolean
onMouseEnter: () => void
onMouseLeave: () => void

View File

@ -47,6 +47,7 @@
height: 12px;
background-color: #f00;
padding: 0 2px;
float: right;
@include e(bar) {
position: relative;
@ -377,8 +378,10 @@
padding: 6px;
box-sizing: content-box;
background-color: $--color-white;
border: 1px solid $--border-color-lighter;
border-radius: $--border-radius-base;
box-shadow: $--dropdown-menu-box-shadow;
&.el-popper{
border: 1px solid $--border-color-lighter;
}
}
}