mirror of
https://github.com/zen-browser/desktop.git
synced 2026-01-04 12:27:50 +00:00
fix: Fixed workspace icons resizing on overflow, b=closes #10596, c=workspaces
This commit is contained in:
@@ -2996,6 +2996,7 @@ var gZenWorkspaces = new (class extends nsZenMultiWindowFeature {
|
||||
|
||||
onWindowResize(event = undefined) {
|
||||
if (!(!event || event.target === window)) return;
|
||||
gZenUIManager.updateTabsToolbar();
|
||||
// Check if workspace icons overflow the parent container
|
||||
const parent = this.workspaceIcons;
|
||||
if (!parent || this._processingResize) {
|
||||
|
||||
@@ -47,11 +47,7 @@
|
||||
line-height: 0;
|
||||
|
||||
&:is(img) {
|
||||
padding: 6px;
|
||||
|
||||
:root:not([zen-sidebar-expanded='true']) & {
|
||||
padding: 10px;
|
||||
}
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
&[no-icon='true'] {
|
||||
|
||||
Reference in New Issue
Block a user