зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
b4a010460b
Коммит
e57f7feda2
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче