styles: InputTag下拉浮层添加最大高度避免超出屏幕

This commit is contained in:
lurunze1226 2023-12-07 21:00:02 +08:00
parent 74493d8cd1
commit e59a48b6c6
2 changed files with 5 additions and 0 deletions

View File

@ -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);

View File

@ -123,6 +123,9 @@
.#{$ns}ListMenu {
padding: px2rem(4px) 0;
max-height: var(--inputTag-popover-maxHeight);
overflow: auto;
user-select: none;
}
.#{$ns}ListMenu-item {