зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1714276 - Limit height of tab when font size is changed r=dao,desktop-theme-reviewers
Set a maximum height on tabs to prevent it from expanding and moving the display of the web page. Differential Revision: https://phabricator.services.mozilla.com/D134169
This commit is contained in:
Родитель
981c2b9b63
Коммит
51f6dd7336
|
@ -26,6 +26,7 @@
|
|||
onoverflow="this.setAttribute('textoverflow', 'true');"
|
||||
onunderflow="this.removeAttribute('textoverflow');"
|
||||
align="start"
|
||||
pack="center"
|
||||
flex="1">
|
||||
<label class="tab-text tab-label" role="presentation"/>
|
||||
<hbox class="tab-secondary-label">
|
||||
|
|
|
@ -468,6 +468,10 @@
|
|||
display: none;
|
||||
}
|
||||
|
||||
#tabbrowser-tabs:not([secondarytext-unsupported]) .tab-label-container {
|
||||
height: 2.7em;
|
||||
}
|
||||
|
||||
.tab-secondary-label {
|
||||
font-size: .75em;
|
||||
opacity: .8;
|
||||
|
|
Загрузка…
Ссылка в новой задаче