Skip to content

Commit

Permalink
Better rendering of stop filter buttons on XS (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
amaisano authored Sep 11, 2019
1 parent 4400cbf commit 7377bf9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions apps/site/assets/css/_stop-page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,28 @@
padding: .75 * $base-spacing;
position: relative;

@include media-breakpoint-only(xs) {

.m-tnm-sidebar__filter-header {
display: block;
}

.c-mode-filter__filter-btn-group:last-of-type {
margin: 0;
}

.m-tnm-sidebar__filter-btn {
margin: $base-spacing / 4 $base-spacing / 2;
margin-left: 0;
}
}

.m-tnm-sidebar__filter-header {
display: inline;

@include media-breakpoint-only(xs) {
display: block;
}
}
}

Expand Down

0 comments on commit 7377bf9

Please sign in to comment.