mirror of https://github.com/ElemeFE/element
ColorPicker: declare box-sizing for panel (#9780)
in case some users declare `box-sizing: border-box` globally and may causing unexpected problemspull/9782/head
parent
ad07722aab
commit
b070c8d88c
|
@ -336,6 +336,7 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
|
box-sizing: content-box;
|
||||||
background-color: $--color-white;
|
background-color: $--color-white;
|
||||||
border: 1px solid $--border-color-lighter;
|
border: 1px solid $--border-color-lighter;
|
||||||
border-radius: $--border-radius-base;
|
border-radius: $--border-radius-base;
|
||||||
|
|
Loading…
Reference in New Issue