Skip to content

Commit

Permalink
Fleet UI: Align update text baseline with neighboring text (#25298)
Browse files Browse the repository at this point in the history
  • Loading branch information
RachelElysia authored Jan 9, 2025
1 parent 863a37a commit f15e45e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion frontend/components/SectionHeader/_styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@

&__left-header {
display: flex;
align-items: center;
align-items: baseline;
gap: $pad-small;

&--vertical {
flex-direction: column;
}
Expand Down
6 changes: 5 additions & 1 deletion frontend/components/TableContainer/_styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,18 @@

&__results-count {
display: flex;
align-items: center;
align-items: baseline;
font-size: $x-small;
font-weight: $bold;
color: $core-fleet-black;
margin: 0;
height: 40px;
gap: 12px;

> span {
line-height: 40px; // Match other header components' height but still align text baseline
}

.count-error {
color: $ui-error;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
&__section-title-group {
display: flex;
gap: 0.75rem;
align-items: baseline;
}

&__section-title-detail {
Expand Down

0 comments on commit f15e45e

Please sign in to comment.