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