Skip to content

Commit

Permalink
dev: reduce size of label font on smaller screens
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael committed Sep 8, 2017
1 parent e1f7330 commit e85464e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/assets/sass/components/_labels.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

@mixin label ($label-background: $panel-colour, $label-border: $secondary-text-colour, $label-text: $text-colour) {
background: $label-background;
// border: 1px solid $label-border;
// border-radius: $border-radius;
color: $white;
display: inline-block;
line-height: 1;
Expand All @@ -31,3 +29,9 @@
.label--red {
@include label($red, $red)
}

@media (max-width: 641px) {
.label, .label--white, .label--blue, .label--red {
font-size: 1.3rem;
}
}

0 comments on commit e85464e

Please sign in to comment.