style: new key type selector align center on windows #166

Co-authored-by: raojinlin <raojinlin302@gmail.com>
This commit is contained in:
raojinlin 2024-02-26 12:55:51 +08:00 committed by GitHub
parent ad2c4c432b
commit 9bd958ef24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 1 deletions

View File

@ -93,7 +93,14 @@ watchEffect(() => {
const renderTypeLabel = (option) => {
return h(
NSpace,
{ align: 'center', inline: true, size: 3 },
{
align: 'center',
inline: true,
size: 3,
itemStyle: {
lineHeight: 'var(--n-blank-height)',
},
},
{
default: () => [
h('div', {