mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-21 01:02:44 +00:00
fix: improve panel background contrast and adjust min width logic for browser elements
This commit is contained in:
@@ -1414,7 +1414,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
||||
const parent = tab.pinned ? '#vertical-pinned-tabs-container ' : '#tabbrowser-arrowscrollbox ';
|
||||
const container = document.querySelector(parent + `.zen-workspace-tabs-section[zen-workspace-id="${workspaceID}"]`);
|
||||
|
||||
if (container.contains(tab)) {
|
||||
if (container?.contains(tab)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user