update ColorPicker
This commit is contained in:
parent
b6bda1dcb5
commit
9673dcb04c
2 changed files with 15 additions and 2 deletions
|
@ -68,6 +68,7 @@
|
|||
wrapClasses () {
|
||||
return [
|
||||
`${prefixCls}-rel`,
|
||||
`${prefixCls}-${this.size}`,
|
||||
`${inputPrefixCls}-wrapper`,
|
||||
`${inputPrefixCls}-wrapper-${this.size}`
|
||||
];
|
||||
|
|
|
@ -5,8 +5,20 @@
|
|||
line-height: 0;
|
||||
}
|
||||
&-color{
|
||||
width: 20px;
|
||||
height: 100%;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border: 1px solid @text-color;
|
||||
position: relative;
|
||||
top: 2px;
|
||||
}
|
||||
&-large &-color{
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
top: 1px;
|
||||
}
|
||||
&-small &-color{
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
top: 3px;
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue