Skip to content

Commit

Permalink
Bug 1398531 - Toolbarbuttons are standardized with a min-height of 24…
Browse files Browse the repository at this point in the history
…px, but the zoom percentage button is text-only, thus needs a different treatment. r=Gijs

MozReview-Commit-ID: 3PEESkH7J7T
  • Loading branch information
mikedeboer committed Sep 20, 2017
1 parent c1494a2 commit b914194
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions browser/themes/shared/customizableui/panelUI.inc.css
Original file line number Diff line number Diff line change
Expand Up @@ -1369,6 +1369,11 @@ photonpanelmultiview .PanelUI-subView .toolbaritem-combined-buttons > .subviewbu
margin-inline-start: 10px;
}

/* An em-based minimum height works better for a text-only button. */
#appMenu-zoomReset-button {
min-height: 2em;
}

#appMenu-zoomReset-button > .toolbarbutton-text {
min-width: 3em;
text-align: center;
Expand Down

0 comments on commit b914194

Please sign in to comment.