From 9bd958ef24727fdfd7c8f31909e8a6a89459d0ab Mon Sep 17 00:00:00 2001 From: raojinlin Date: Mon, 26 Feb 2024 12:55:51 +0800 Subject: [PATCH] style: new key type selector align center on windows #166 Co-authored-by: raojinlin --- frontend/src/components/dialogs/NewKeyDialog.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/dialogs/NewKeyDialog.vue b/frontend/src/components/dialogs/NewKeyDialog.vue index 97c2fea..0924402 100644 --- a/frontend/src/components/dialogs/NewKeyDialog.vue +++ b/frontend/src/components/dialogs/NewKeyDialog.vue @@ -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', {