Skip to content

Commit

Permalink
fix(font): make departure/arrival time mobile font smaller #55
Browse files Browse the repository at this point in the history
  • Loading branch information
pgm369 committed Oct 30, 2023
1 parent 4618178 commit bbfd5bf
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
Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand All @@ -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 bbfd5bf

Please sign in to comment.