mirror of
https://github.com/zen-browser/desktop.git
synced 2026-03-31 21:01:55 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user