Skip to content

Commit

Permalink
fix(select): fix style error (#1509)
Browse files Browse the repository at this point in the history
Co-authored-by: shiliqian <shiliqian@growingio.com>
  • Loading branch information
berber1016 and shiliqian committed Nov 23, 2021
1 parent 9f8af23 commit 96e8037
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion src/cascader/style/index.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import '../../stylesheet/variables/index.less';
@import '~@gio-design/utils/lib/less/mixins.less';
@list-prefix-cls: ~'@{component-prefix}-cascader--new';

@list-item-prefix-cls: ~'@{component-prefix}-list-new--item';
.@{list-prefix-cls} {
&--content {
z-index: 100;
Expand All @@ -18,4 +18,9 @@
box-shadow: 0 8px 24px rgba(36, 46, 89, 0.1);
.scrollbar(@x: hidden, @y: overlay);
}
&--item--trigger {
& > .@{list-item-prefix-cls} {
margin-bottom: 0;
}
}
}
2 changes: 1 addition & 1 deletion src/list/DragItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const DragItem: React.FC<DragItemProps> = (props) => {
ref={ref}
data-handler-id={handlerId}
>
<MoveOutlined className={`${prefixCls}--item--drag--icon`} color="#DFE2ED" size="14px" />
<MoveOutlined className={`${prefixCls}--item--drag--icon`} color="#ADB2C2" size="14px" />
<Item label={label} value={value} disabled={disabled} {...rest} />
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion src/select/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
min-width: 120px;
height: auto;
max-height: 520px;
padding: 12px 8px;
padding: 8px;
.scrollbar();
background: @gray-0;
border: 1px solid #dfe4ee;
Expand Down

1 comment on commit 96e8037

@vercel
Copy link

@vercel vercel bot commented on 96e8037 Nov 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.