mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-03 02:21:49 +08:00
fix: fix color-picker popover popconfirm style (#584)
This commit is contained in:
parent
1d26a350b0
commit
790d831c63
@ -3,7 +3,6 @@
|
||||
v-model:visible="visible"
|
||||
:trigger="['click']"
|
||||
effect="light"
|
||||
pure
|
||||
popper-class="el-popover"
|
||||
>
|
||||
<div class="el-popconfirm">
|
||||
|
@ -89,7 +89,6 @@ export default defineComponent({
|
||||
popperClass: kls,
|
||||
popperStyle: popperStyle,
|
||||
popperId,
|
||||
pure: true,
|
||||
visibility,
|
||||
onMouseEnter: onPopperMouseEnter,
|
||||
onMouseLeave: onPopperMouseLeave,
|
||||
|
@ -13,7 +13,7 @@ interface IRenderPopperProps {
|
||||
popperStyle?: Partial<CSSStyleDeclaration>
|
||||
popperId: string
|
||||
popperRef?: Ref<HTMLElement>
|
||||
pure: boolean
|
||||
pure?: boolean
|
||||
visibility: boolean
|
||||
onMouseEnter: () => void
|
||||
onMouseLeave: () => void
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user