perf: Improve split view switching perf and them resetting scroll, p=#10863, c=split-view

* feat: Improve button sizings for the sidebar, b=no-bug, c=common, tabs, workspaces

* perf: Improved split view switch perf, b=no-bug, c=glance, split-view
This commit is contained in:
mr. m
2025-10-19 00:05:20 +02:00
committed by GitHub
parent 5ca34a53d2
commit c0cc10ecd7
8 changed files with 48 additions and 24 deletions

View File

@@ -3048,7 +3048,7 @@ var gZenWorkspaces = new (class extends nsZenMultiWindowFeature {
parent.removeAttribute('icons-overflow');
return;
}
const maxButtonSize = 30; // IMPORTANT: This should match the CSS size of the icons
const maxButtonSize = 32; // IMPORTANT: This should match the CSS size of the icons
const minButtonSize = 15;
const separation = 3; // Space between icons

View File

@@ -239,7 +239,7 @@
--toolbarbutton-inner-padding: 6px;
& image {
border-radius: calc(var(--border-radius-medium) - 4px) !important;
border-radius: max(calc(var(--border-radius-medium) - 4px), 4px) !important;
width: 26px;
height: 26px;
margin-right: -1px;