Skip to content

Commit

Permalink
fix(fabToolbar): fix toolbar height to use variables
Browse files Browse the repository at this point in the history
Fab Toolbar incorrectly used 6.8rem instead of the rem(6.8) SCSS function.
Also updated it to use button.scss variables instead of hard-coded values.

BREAKING CHANGE: md-fab-toolbar now uses variables for height

```css
md-fab-toolbar {
  height: $button-fab-width + ($icon-button-margin * 2);
}
```

closes angular#3384. closes angular#4007.
  • Loading branch information
topherfangio authored and kennethcachia committed Sep 23, 2015
1 parent fc9f6e3 commit cb710d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/fabToolbar/fabToolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ md-fab-toolbar {
position: relative;
overflow: hidden;

// Account for the size of the trigger (5.6rem) plus it's margin/shadow (0.6rem * 2)
height: 6.8rem;
// Account for the size of the trigger plus it's margin/shadow
height: $button-fab-width + ($icon-button-margin * 2);
}

md-fab-trigger {
Expand Down

0 comments on commit cb710d8

Please sign in to comment.