Skip to content

Commit

Permalink
Hiding the zoom option in case of firefox browser
Browse files Browse the repository at this point in the history
Signed-off-by: Aravindhan Alagesan <[email protected]>
  • Loading branch information
aranaravi committed Nov 8, 2023
1 parent 834b10a commit c40b424
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions resident-ui/src/app/shared/header/header.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -217,3 +217,9 @@
display: none;
}
}

@-moz-document url-prefix() {
#zoomItemBtn {
display:none;
}
}
2 changes: 1 addition & 1 deletion resident-ui/src/app/shared/header/header.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>
<span class="spacer"></span>

<mat-list-item *ngIf="activeUrl !== '#/dashboard/expired' ">
<mat-list-item id="zoomItemBtn" *ngIf="activeUrl !== '#/dashboard/expired' ">
<button mat-button [matMenuTriggerFor]="zoomItem"> <span
class="mat-button-wrapper">Aa<mat-icon>keyboard_arrow_down</mat-icon></span></button>
</mat-list-item>
Expand Down

0 comments on commit c40b424

Please sign in to comment.