Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(font): make departure/arrival time mobile font smaller #55
Browse files Browse the repository at this point in the history
pgm369 committed Oct 30, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 4618178 commit 60d4bff
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/style-flight-main.scss
Original file line number Diff line number Diff line change
@@ -42,7 +42,7 @@
.departureTime {
padding-bottom: var(--auro-size-xxxs);
color: var(--auro-color-text-primary-on-light);
font-size: var(--auro-text-heading-700-size-breakpoint-sm);
font-size: var(--auro-text-heading-300-size);
line-height: var(--auro-text-heading-700-height-breakpoint-md);
text-align: left;
}
@@ -55,7 +55,7 @@
.arrivalTime {
padding-bottom: var(--auro-size-xxxs);
color: var(--auro-color-text-primary-on-light);
font-size: var(--auro-text-heading-700-size-breakpoint-sm);
font-size: var(--auro-text-heading-300-size);
line-height: var(--auro-text-heading-700-height-breakpoint-md);
text-align: right;
}
@@ -77,3 +77,9 @@
color: var(--auro-color-alert-error-on-light);
text-decoration: line-through;
}

@include auro_breakpoint--sm {
.departureTime, .arrivalTime {
font-size: var(--auro-text-heading-700-size-breakpoint-sm);
}
}

0 comments on commit 60d4bff

Please sign in to comment.