styles: 修复input-color组件样式问题 (#7145)

Co-authored-by: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com>
This commit is contained in:
qkiroc 2023-06-12 18:50:46 +08:00 committed by GitHub
parent d4442e917c
commit d3b2006d64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View File

@ -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);
}
}

View File

@ -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 ? (