Skip to content

Commit

Permalink
fix: center view all units button on home page
Browse files Browse the repository at this point in the history
  • Loading branch information
kumar-ish committed Nov 18, 2022
1 parent 1bfaa21 commit 9807dfd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/home/states/home/home.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ <h4>{{ unitRole.unit?.name }}</h4>
mat-mini-fab
aria-label="view all units"
>
<mat-icon style="color: white">history</mat-icon>
<mat-icon fxLayoutAlign="center center" style="color: white; padding-right: 1px">history</mat-icon>
</button>
</a>
</div>
Expand Down
5 changes: 5 additions & 0 deletions src/app/home/states/home/home.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
width: 100%;
overflow: hidden;
}

::ng-deep .mat-button-wrapper {
display: flex !important;
justify-content: center !important;
}
}

.admin-card {
Expand Down

0 comments on commit 9807dfd

Please sign in to comment.