Skip to content

Commit 73f3fbb

Browse files
authored
Merge pull request #2875 from benlumley/new_select2_fix
Flasher - fix for select2 height mismatch + padding
2 parents 77cd427 + d220d42 commit 73f3fbb

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/css/select2_custom.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
.select2 {
33
font-family: Arial, Helvetica, sans-serif;
44
font-weight: 400;
5-
font-size: 13.3333px;
5+
font-size: 13.3333px;
66
}
77

88
.select2-selection__rendered {
9-
line-height: 18.5px !important;
9+
line-height: 18px !important;
1010
padding-left: 4px !important;
1111
color: var(--defaultText) !important;
1212
border-radius: 2px !important;
@@ -15,12 +15,13 @@
1515
.select2-container .select2-selection--single {
1616
height: 20px !important;
1717
border-radius: 3px !important;
18-
border: 0.5px solid var(--subtleAccent) !important;
18+
border: 1px solid var(--subtleAccent) !important;
1919
cursor: default !important;
2020
}
2121

2222
.select2-selection__arrow {
2323
height: 19px !important;
24+
top: 0 !important;
2425
}
2526
.select2-selection__arrow b {
2627
height: 5px !important;

src/css/tabs/firmware_flasher.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@
125125

126126
.tab-firmware_flasher .cf_table td:last-child {
127127
text-align: left;
128+
padding-left: 8px;
128129
}
129130

130131
.tab-firmware_flasher .options .flash_on_connect_wrapper {
@@ -227,4 +228,4 @@
227228
#dialogUnstableFirmwareAcknoledgement .content ul {
228229
margin-top: 5px;
229230
margin-bottom: 5px;
230-
}
231+
}

0 commit comments

Comments
 (0)