From de8cd96a1a8099891594db76d7de36f34c14ceae Mon Sep 17 00:00:00 2001 From: raojinlin Date: Fri, 23 Feb 2024 18:30:35 +0800 Subject: [PATCH] fix: new key dialog key-type option align --- frontend/src/components/dialogs/NewKeyDialog.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/dialogs/NewKeyDialog.vue b/frontend/src/components/dialogs/NewKeyDialog.vue index 97c2fea..ef2471c 100644 --- a/frontend/src/components/dialogs/NewKeyDialog.vue +++ b/frontend/src/components/dialogs/NewKeyDialog.vue @@ -103,9 +103,15 @@ const renderTypeLabel = (option) => { width: '13px', height: '13px', border: '2px solid white', + position: 'relative', + top: '-0.5px', }, }), - option.value, + h('div', { + style: { + 'line-height': '32px', + } + }, option.value), ], }, )