style: fix Mentions item height to 32px (#46737)

Co-authored-by: lijianan <574980606@qq.com>
This commit is contained in:
afc163 2024-01-02 16:29:13 +08:00 committed by GitHub
parent 3f4fd427c3
commit 680c5123db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -221,7 +221,7 @@ export const prepareComponentToken: GetDefaultToken<'Mentions'> = (token) => ({
dropdownHeight: 250,
controlItemWidth: 100,
zIndexPopup: token.zIndexPopupBase + 50,
itemPaddingVertical: token.controlHeight - token.fontHeight,
itemPaddingVertical: (token.controlHeight - token.fontHeight) / 2,
});
// ============================== Export ==============================