Skip to content

Commit

Permalink
Merge pull request #3983 from cloudfoundry/firefox-fix
Browse files Browse the repository at this point in the history
Fix alignment of user button on newer Firefox
  • Loading branch information
richard-cox authored Oct 15, 2019
2 parents 423ba10 + bfb0591 commit 8baa937
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ <h3>Recent</h3>
notifications
</mat-icon>
</button>
<button id="userMenu" *ngIf="!hideMenu" class="page-header__menu-button" mat-icon-button
<button id="userMenu" *ngIf="!hideMenu" class="page-header__menu-button page-header__usermenu" mat-icon-button
[matMenuTriggerFor]="menu">
<div class="page-header__menu-button-icon"> {{ userNameFirstLetter$ | async }} </div>
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ $bottom-index: $top-index - 1;
display: flex;
justify-content: center;
}
&__usermenu {
padding: 5px 0;
}
&__username {
align-items: center;
display: flex;
Expand Down

0 comments on commit 8baa937

Please sign in to comment.