зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1759221 - Use -moz-box-pack: start on tabs. r=dao
So that overflowing content overflows always towards the end, rather than getting centered. Differential Revision: https://phabricator.services.mozilla.com/D143614
This commit is contained in:
Родитель
8e5b003502
Коммит
7f914a2eaf
|
@ -93,12 +93,13 @@
|
|||
border-width: 0;
|
||||
margin: 0 !important /* override tabbox.css */;
|
||||
padding: 0 !important /* override tabbox.css */;
|
||||
-moz-box-align: stretch;
|
||||
}
|
||||
|
||||
.tabbrowser-tab {
|
||||
min-height: var(--tab-min-height);
|
||||
padding-inline: 2px !important;
|
||||
-moz-box-align: stretch;
|
||||
/* Needed so that overflowing content overflows towards the end rather than
|
||||
getting centered. That prevents tab opening animation from looking off at
|
||||
the start, see bug 1759221. */
|
||||
-moz-box-pack: start;
|
||||
min-height: var(--tab-min-height);
|
||||
}
|
||||
|
||||
/* tabbrowser-tab keyboard focus */
|
||||
|
|
Загрузка…
Ссылка в новой задаче