Skip to content

Commit

Permalink
Bug 1730835 - Prevent toolbarbuttons used as menu items from aligning…
Browse files Browse the repository at this point in the history
… to the center of the menu. r=desktop-theme-reviewers,dao

Differential Revision: https://phabricator.services.mozilla.com/D125751
  • Loading branch information
Molly Howell committed Sep 20, 2021
1 parent 92fc13d commit d8d823a
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 @@ -998,6 +998,11 @@ panelview .toolbarbutton-1,
background-color: transparent;
}

.subviewbutton {
/* toolbarbuttons default to centered, but we don't want that for subviews. */
-moz-box-pack: start;
}

.subviewbutton:focus {
outline: 0;
}
Expand Down

0 comments on commit d8d823a

Please sign in to comment.