Fleet UI: [tiny released styling bug] Fix alignment on long label names (#13568)

This commit is contained in:
RachelElysia 2023-08-29 14:47:26 -04:00 committed by GitHub
parent 69f34d9ce0
commit 12af094a8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 2 deletions

View file

@ -0,0 +1 @@
- Bug fix: Fix alignment on long label names on host details label filter dropdown

View file

@ -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
}
}
}