ColorPicker: declare box-sizing for panel (#9780)

in case some users declare `box-sizing: border-box` globally and may causing unexpected problems
pull/9782/head
troy351 2018-02-11 17:07:03 +08:00 committed by 杨奕
parent ad07722aab
commit b070c8d88c
1 changed files with 1 additions and 0 deletions

View File

@ -336,6 +336,7 @@
position: absolute;
z-index: 10;
padding: 6px;
box-sizing: content-box;
background-color: $--color-white;
border: 1px solid $--border-color-lighter;
border-radius: $--border-radius-base;