mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
styles: 修复input-color组件样式问题 (#7145)
Co-authored-by: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com>
This commit is contained in:
parent
d4442e917c
commit
d3b2006d64
@ -75,6 +75,9 @@
|
||||
|
||||
&-clear {
|
||||
@include input-clear();
|
||||
svg {
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&-arrow {
|
||||
@ -94,11 +97,12 @@
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
top: 0;
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
}
|
||||
|
||||
&.is-opened &-arrow > svg {
|
||||
transform: rotate(180deg);
|
||||
transform: rotate(270deg);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -302,7 +302,11 @@ export class ColorControl extends React.PureComponent<
|
||||
) : null}
|
||||
|
||||
<span className={cx('ColorPicker-arrow')}>
|
||||
<Icon icon="caret" className="icon" onClick={this.handleClick} />
|
||||
<Icon
|
||||
icon="right-arrow-bold"
|
||||
className="icon"
|
||||
onClick={this.handleClick}
|
||||
/>
|
||||
</span>
|
||||
|
||||
{!mobileUI && isOpened ? (
|
||||
|
Loading…
Reference in New Issue
Block a user