Merge pull request #9064 from lurunze1226/fix-style-input-tag-maxHeight

styles: InputTag下拉浮层添加最大高度避免超出屏幕
This commit is contained in:
hsm-lv 2023-12-08 12:51:38 +08:00 committed by GitHub
commit e6855d2a7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 {