fix for #766 issues with display in overflow menu

This commit is contained in:
Kendall Werts
2019-08-26 14:47:02 -05:00
parent 4d42a74e66
commit 7cbace9cc9
2 changed files with 13 additions and 5 deletions
+6
View File
@@ -272,6 +272,12 @@ const Logic = {
throw new Error("Something really bad happened. Unknown panel: " + panel);
}
if (window.innerWidth > 300) {
//if popup is in the overflow menu, window will be larger than 300px
var root = document.documentElement;
root.style.setProperty('--overflow-size', "125px");
root.style.setProperty('--icon-fit', "12");
}
this._previousPanel = this._currentPanel;
this._currentPanel = panel;