From 60d6ee448ef3b56afb342c2c4fa40b8a55e46cff Mon Sep 17 00:00:00 2001 From: Ben Lumley Date: Tue, 29 Mar 2022 11:33:58 +0100 Subject: [PATCH 1/2] Fix select2 height displaying differently --- src/css/select2_custom.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/css/select2_custom.css b/src/css/select2_custom.css index 02bd02d0..5626a472 100644 --- a/src/css/select2_custom.css +++ b/src/css/select2_custom.css @@ -2,11 +2,11 @@ .select2 { font-family: Arial, Helvetica, sans-serif; font-weight: 400; - font-size: 13.3333px; + font-size: 13.3333px; } .select2-selection__rendered { - line-height: 18.5px !important; + line-height: 18px !important; padding-left: 4px !important; color: var(--defaultText) !important; border-radius: 2px !important; @@ -15,12 +15,13 @@ .select2-container .select2-selection--single { height: 20px !important; border-radius: 3px !important; - border: 0.5px solid var(--subtleAccent) !important; + border: 1px solid var(--subtleAccent) !important; cursor: default !important; } .select2-selection__arrow { height: 19px !important; + top: 0 !important; } .select2-selection__arrow b { height: 5px !important; From d220d420d2a220c87ee0b66014e6fa60d26dc295 Mon Sep 17 00:00:00 2001 From: Ben Lumley Date: Tue, 29 Mar 2022 11:38:09 +0100 Subject: [PATCH 2/2] Bit of padding to keep text away from selects --- src/css/tabs/firmware_flasher.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/css/tabs/firmware_flasher.css b/src/css/tabs/firmware_flasher.css index f7b8fd66..b4c39197 100644 --- a/src/css/tabs/firmware_flasher.css +++ b/src/css/tabs/firmware_flasher.css @@ -125,6 +125,7 @@ .tab-firmware_flasher .cf_table td:last-child { text-align: left; + padding-left: 8px; } .tab-firmware_flasher .options .flash_on_connect_wrapper { @@ -227,4 +228,4 @@ #dialogUnstableFirmwareAcknoledgement .content ul { margin-top: 5px; margin-bottom: 5px; -} \ No newline at end of file +}