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:
Emilio Cobos Álvarez 2022-04-14 12:13:28 +00:00
Родитель 8e5b003502
Коммит 7f914a2eaf
1 изменённых файлов: 6 добавлений и 5 удалений

Просмотреть файл

@ -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 */