Skip to content

Commit

Permalink
FIX Allow buttons to retain their font size on small screens if they …
Browse files Browse the repository at this point in the history
…don't have an icon (#152)
  • Loading branch information
robbieaverill authored and Aaron Carlino committed Aug 2, 2017
1 parent 42c3b87 commit 8949d7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/dist/styles/bundle.css

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion client/src/components/Toolbar/Toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@

@include media-breakpoint-down(sm) {
.btn {
font-size: 0;
// Hide text on small devices if the button has an icon
&[class*="font-icon-"] {
font-size: 0;
}

&:before {
margin-right: 0;
Expand Down

0 comments on commit 8949d7f

Please sign in to comment.