Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(icon): icons should have a minimum height.
Browse files Browse the repository at this point in the history
* Icons should not shrink on smaller viewport. (At both axis, looks weird and is inconsistent)
* Also fixes an issue in the toolbar demo, where the icons shrink, when the viewport is to small.

Fixes #7599

Closes #7860
  • Loading branch information
devversion authored and ThomasBurleson committed Apr 3, 2016
1 parent 96b3216 commit 1dc0c17
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/icon/icon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ md-icon {
height: $icon-size;
width: $icon-size;

// The icons should not shrink on smaller viewports.
min-height: $icon-size;
min-width: $icon-size;

svg {
pointer-events: none;
display: block;
Expand Down

0 comments on commit 1dc0c17

Please sign in to comment.