fix: add visibility:hidden to selector:after (#42651)

Co-authored-by: tchen <tao.chen@yuyidata.com>
This commit is contained in:
tchen 2023-05-26 17:47:57 +08:00 committed by GitHub
parent defcd377e8
commit 814d15a247
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,6 +72,7 @@ function genSizeStyle(token: SelectToken, suffix?: string): CSSObject {
width: 0,
margin: `${FIXED_ITEM_MARGIN}px 0`,
lineHeight: `${selectItemHeight}px`,
visibility: 'hidden',
content: '"\\a0"',
},
},