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

Commit 2dc200a

Browse files
topherfangioThomasBurleson
authored andcommitted
fix(fabToolbar): fix toolbar height to use variables
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.
1 parent 17676e6 commit 2dc200a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/fabToolbar/fabToolbar.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ md-fab-toolbar {
1111
position: relative;
1212
overflow: hidden;
1313

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

1818
md-fab-trigger {

0 commit comments

Comments
 (0)