style: 修复select组件宽度溢出问题 (#5623)

This commit is contained in:
qinhaoyan 2022-10-25 15:27:18 +08:00 committed by GitHub
parent db33ac8df0
commit 51f28374fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 14 deletions

View File

@ -451,7 +451,7 @@
--DatePicker-height: var(--Form-input-height);
--DatePicker-iconColor: var(--icon-color);
--DatePicker-lineHeight: var(--Form-input-lineHeight);
--DatePicker-onFocused-borderColor: #144bcc;
--DatePicker-onFocused-borderColor: var(--colors-brand-4);
--DatePicker-onHover-bg: var(--DatePicker-bg);
--DatePicker-onHover-borderColor: var(--Form-input-onFocused-borderColor);
--DatePicker-onDisabled-bg: #f5f5f5;
@ -473,7 +473,7 @@
var(--fontSizeLg) * 8 + var(--DatePicker-paddingX) * 2 +
var(--Form-input-clearBtn-size) * 2
);
--DateRangePicker-activeCursor-color: var(--primary);
--DateRangePicker-activeCursor-color: var(--colors-brand-4);
--DateRangePicker-activeCursor-height: 2px;
--LocationPicker-borderRadius: var(--Form-input-borderWidth);

View File

@ -760,17 +760,6 @@
}
}
&:active,
&.is-active {
color: var(--Button-onActive-color);
box-shadow: var(--Button-onActive-boxShadow);
border-color: var(--Button-onActive-border);
&:focus {
box-shadow: var(--Button-onActive-boxShadow);
}
}
@include hover-focus {
// color: var(--text-color);
text-decoration: none;

View File

@ -104,7 +104,7 @@
position: relative;
flex-grow: 1;
line-height: 1;
// width: 0;
width: auto;
max-width: 100%;
overflow: hidden;
}