Skip to content

Commit 1d4a5b5

Browse files
committed
Fixes various styling bugs in select
The extra right-side padding is only needed within inspector, outside usage shows too much padding Constrain the select width for important updates
1 parent 686814d commit 1d4a5b5

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

assets/css/updates/updates.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
.control-updatelist .update-item .item-header .important-update {
3333
padding: 7px 0 0 0;
3434
float: right;
35+
width: 200px;
3536
}
3637
.control-updatelist .update-item dl {
3738
padding: 10px;

assets/less/updates/updates.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
.important-update {
4141
padding: 7px 0 0 0;
4242
float: right;
43+
width: 200px;
4344
}
4445
}
4546

assets/ui/less/inspector.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,10 @@
320320
background: white;
321321
}
322322
}
323+
324+
.select2-selection__rendered {
325+
padding: 0 22px 0 0;
326+
}
323327
}
324328

325329
tr.changed {

assets/ui/less/select.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270

271271
.select2-selection__rendered {
272272
color: @input-color;
273-
padding: 0 22px 0 0;
273+
padding: 0;
274274
}
275275

276276
.select2-selection__placeholder {

0 commit comments

Comments
 (0)