mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 11:58:10 +08:00
Merge pull request #9064 from lurunze1226/fix-style-input-tag-maxHeight
styles: InputTag下拉浮层添加最大高度避免超出屏幕
This commit is contained in:
commit
e6855d2a7e
@ -3798,6 +3798,8 @@
|
|||||||
--inputTag-option-bg-color: var(--colors-neutral-fill-11);
|
--inputTag-option-bg-color: var(--colors-neutral-fill-11);
|
||||||
--inputTag-option-hover-color: var(--colors-brand-5);
|
--inputTag-option-hover-color: var(--colors-brand-5);
|
||||||
--inputTag-option-hover-bg-color: var(--colors-brand-10);
|
--inputTag-option-hover-bg-color: var(--colors-brand-10);
|
||||||
|
--inputTag-popover-maxHeight: 300px;
|
||||||
|
|
||||||
|
|
||||||
--fieldSet-legend-height: var(--sizes-size-9);
|
--fieldSet-legend-height: var(--sizes-size-9);
|
||||||
--fieldSet-legend-color: var(--colors-neutral-text-2);
|
--fieldSet-legend-color: var(--colors-neutral-text-2);
|
||||||
|
@ -123,6 +123,9 @@
|
|||||||
|
|
||||||
.#{$ns}ListMenu {
|
.#{$ns}ListMenu {
|
||||||
padding: px2rem(4px) 0;
|
padding: px2rem(4px) 0;
|
||||||
|
max-height: var(--inputTag-popover-maxHeight);
|
||||||
|
overflow: auto;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.#{$ns}ListMenu-item {
|
.#{$ns}ListMenu-item {
|
||||||
|
Loading…
Reference in New Issue
Block a user