Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.

Commit

Permalink
#68 fix mat-fab button.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexthewilde committed Dec 5, 2017
1 parent f8fbdf3 commit 48212d8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/dkt-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ h6 {
button {
font-size: 13px!important;
font-weight: 600!important;
&:not(.mat-icon-button) {
&:not(.mat-icon-button):not(.mat-fab):not(.mat-mini-fab) {
border-radius: 4px!important;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</div>

<!-- Toggle sidebar -->
<button class="toggle-sidebar" mat-icon-button mat-raised-button (click)="showSidebar = !showSidebar">
<button class="toggle-sidebar" mat-fab (click)="showSidebar = !showSidebar">
<mat-icon>{{showSidebar ? 'close' : 'menu'}}</mat-icon>
</button>
</div>
Expand Down
8 changes: 5 additions & 3 deletions src/app/flows/containers/flows-app/flows-app.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,13 @@ div.layout {
button.toggle-sidebar {
display:inline-block;
position: absolute;
background-color: white;
bottom: 2rem;
right: -6rem;
// TODO update Material and use mat-fab instead of mat-icon-button
width: 56px;
height: 56px;

.mat-button-wrapper {
padding-top: 14px;
}

mat-icon {
font-size: 30px;
Expand Down

0 comments on commit 48212d8

Please sign in to comment.