Fixed tab overlflow changing the height of the web view

This commit is contained in:
mr. M
2024-10-19 18:41:31 +02:00
parent 36104652cd
commit 83b077d5f3
3 changed files with 5 additions and 3 deletions

View File

@@ -222,9 +222,10 @@ pref("privacy.resistFingerprinting.letterboxing.dimensions", "");
pref("devtools.accessibility.enabled", false);
// Enable GPU by default
pref('gfx.webrender.all', true);
//pref('gfx.webrender.all', true);
pref("gfx.canvas.accelerated", true);
pref("media.hardware-video-decoding.enabled", true);
pref("layers.gpu-process.enabled", true);
// VAAPI/FFMPEG is Linux only
#ifdef XP_UNIX

View File

@@ -71,7 +71,7 @@
tabs.style.maxHeight = '0px'; // reset to 0
const toolbarRect = toolbarItems.getBoundingClientRect();
// -5 for the controls padding
let totalHeight = toolbarRect.height - this.contentElementSeparation;
let totalHeight = toolbarRect.height - (this.contentElementSeparation * 2) - 5;
// remove the height from other elements that aren't hidden
const otherElements = document.querySelectorAll('#tabbrowser-tabs > *:not([hidden="true"])');
for (let tab of otherElements) {

View File

@@ -119,10 +119,11 @@
#zen-sidebar-icons-wrapper {
background: transparent;
padding: 0;
gap: 5px;
align-items: center;
padding-top: var(--zen-element-separation);
& > toolbarbutton:not(#zen-workspaces-button) {
padding: 0 !important;
}