mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 01:18:42 +00:00
Fleet UI: [tiny released styling bug] Fix alignment on long label names (#13568)
This commit is contained in:
parent
69f34d9ce0
commit
12af094a8c
2 changed files with 11 additions and 2 deletions
1
changes/13521-label-alignment
Normal file
1
changes/13521-label-alignment
Normal file
|
|
@ -0,0 +1 @@
|
|||
- Bug fix: Fix alignment on long label names on host details label filter dropdown
|
||||
|
|
@ -60,6 +60,10 @@
|
|||
font-size: $small;
|
||||
}
|
||||
|
||||
.label-filter-select__single-value {
|
||||
max-width: 84%; // Must override default styling of .css-qc6sy-singleValue
|
||||
}
|
||||
|
||||
.label-filter-select__placeholder {
|
||||
width: 75px; // Truncates text for smaller filter width
|
||||
overflow: hidden;
|
||||
|
|
@ -142,8 +146,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1100px) {
|
||||
@media (min-width: 1150px) {
|
||||
.label-filter-select {
|
||||
width: 180px;
|
||||
width: 220px;
|
||||
|
||||
&__single-value {
|
||||
max-width: 135px !important; // Must override default styling of .css-qc6sy-singleValue
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue