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

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 #3384. closes #4007.
  • Loading branch information
topherfangio authored and ThomasBurleson committed Aug 6, 2015
1 parent 17676e6 commit 2dc200a
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 2dc200a

Please sign in to comment.