Bug 1714135 - Limit width of toolbar badges so they don't shift the toolbar r=desktop-theme-reviewers,dao

Set a limit on the width of toolbar badges so that when they expand they do not shift the position of other elements on the toolbar.

Differential Revision: https://phabricator.services.mozilla.com/D119781
This commit is contained in:
Bernard Igiri 2021-07-19 15:47:40 +00:00
parent b4a010460b
commit e57f7feda2
3 changed files with 3 additions and 3 deletions

View File

@ -87,7 +87,7 @@ toolbarbutton:-moz-lwtheme:not(:hover, [checked="true"], [open="true"], [disable
margin: -5px 0 0 !important;
margin-inline-end: -4px !important;
min-width: 14px;
max-width: 24px;
max-width: 20px;
line-height: 10px;
text-align: center;
align-self: start;

View File

@ -50,7 +50,7 @@ toolbarbutton[disabled="true"] {
margin: -5px 0 0 !important;
margin-inline-end: -4px !important;
min-width: 14px;
max-width: 24px;
max-width: 20px;
line-height: 10px;
text-align: center;
align-self: start;

View File

@ -93,7 +93,7 @@ toolbarbutton[disabled="true"] {
margin: -5px 0 0 !important;
margin-inline-end: -4px !important;
min-width: 14px;
max-width: 24px;
max-width: 20px;
line-height: 10px;
text-align: center;
align-self: start;