From ef3615bfc16f63c78818157c6550195d0f319747 Mon Sep 17 00:00:00 2001 From: raojinlin Date: Mon, 26 Feb 2024 11:14:31 +0800 Subject: [PATCH] Fix: Vertical alignment of key type selector text in the add new key dialog on Windows --- frontend/package.json.md5 | 2 +- frontend/src/components/dialogs/NewKeyDialog.vue | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/frontend/package.json.md5 b/frontend/package.json.md5 index e292df3..4e1de28 100755 --- a/frontend/package.json.md5 +++ b/frontend/package.json.md5 @@ -1 +1 @@ -0d716149856646a7939a157fbfa27913 \ No newline at end of file +7d8fc3991382d09b7c9aa07b9d551a05 \ No newline at end of file diff --git a/frontend/src/components/dialogs/NewKeyDialog.vue b/frontend/src/components/dialogs/NewKeyDialog.vue index ef2471c..c08d4c2 100644 --- a/frontend/src/components/dialogs/NewKeyDialog.vue +++ b/frontend/src/components/dialogs/NewKeyDialog.vue @@ -103,13 +103,11 @@ const renderTypeLabel = (option) => { width: '13px', height: '13px', border: '2px solid white', - position: 'relative', - top: '-0.5px', }, }), h('div', { style: { - 'line-height': '32px', + 'line-height': 'var(--n-blank-height)', } }, option.value), ],