chore: Update grid layout for split views in ZenViewSplitter.mjs

Update the grid layout in ZenViewSplitter.mjs to fix the issue with split views not displaying correctly. This change ensures that the grid template areas are properly set, resolving the layout problem.
This commit is contained in:
Mauro Balades
2024-05-22 13:05:52 +02:00
parent 0e3eb8cd97
commit 6a07f87358
3 changed files with 8 additions and 35 deletions

View File

@@ -111,7 +111,7 @@ var gZenViewSplitter = {
container.style.gridArea = "";
}
this.tabBrowserPanel.removeAttribute("zen-split-view");
//this.tabBrowserPanel.style.gridTemplateAreas = "";
this.tabBrowserPanel.style.gridTemplateAreas = "";
Services.prefs.setBoolPref("zen.splitView.working", false);
modifyDecks(this._data[this.currentView].tabs, false);
this.currentView = -1;