This is an automated email from the git hooks/post-receive script.
pierov pushed a commit to branch geckoview-99.0.1-11.0-1 in repository tor-browser.
commit 8faefe680cd30db5c1ea9652d314fff3dda26b15 Author: Bernard Igiri bigiri@mozilla.com AuthorDate: Thu Jan 6 16:33:27 2022 +0000
Bug 1714276 - Limit height of tab when font size is changed r=dao,desktop-theme-reviewers, a=dsmith
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 --- browser/base/content/tabbrowser-tab.js | 1 + browser/themes/shared/tabs.inc.css | 4 ++++ 2 files changed, 5 insertions(+)
diff --git a/browser/base/content/tabbrowser-tab.js b/browser/base/content/tabbrowser-tab.js index 295b9d13c1930..cee553e9d1834 100644 --- a/browser/base/content/tabbrowser-tab.js +++ b/browser/base/content/tabbrowser-tab.js @@ -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"> diff --git a/browser/themes/shared/tabs.inc.css b/browser/themes/shared/tabs.inc.css index 9fec6af1a7181..0bc71bcb282ec 100644 --- a/browser/themes/shared/tabs.inc.css +++ b/browser/themes/shared/tabs.inc.css @@ -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;