mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
style: 修复select组件宽度溢出问题 (#5623)
This commit is contained in:
parent
db33ac8df0
commit
51f28374fb
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -104,7 +104,7 @@
|
||||
position: relative;
|
||||
flex-grow: 1;
|
||||
line-height: 1;
|
||||
// width: 0;
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user