Browse Source

Allow the popout menu to overflow

This also gets rid of the groups, which were messing up the layout.
tags/v0.1.0
Fen Dweller 5 years ago
parent
commit
ecbdf755a5
2 changed files with 4 additions and 5 deletions
  1. +1
    -0
      macrovision.css
  2. +3
    -5
      macrovision.js

+ 1
- 0
macrovision.css View File

@@ -732,6 +732,7 @@ i.far {
#popout-menu { #popout-menu {
display: none; display: none;
flex-direction: column; flex-direction: column;
flex-wrap: wrap;
height: 80vh; height: 80vh;
justify-content: space-around; justify-content: space-around;
position: fixed; position: fixed;


+ 3
- 5
macrovision.js View File

@@ -1258,8 +1258,8 @@ function prepareMenu() {
} }
] ]
].forEach(group => { ].forEach(group => {
const span = document.createElement("span");
span.classList.add("popout-group");
// we no longer group things, so I'll just ignore the groups
// for now
group.forEach(entry => { group.forEach(entry => {
const buttonHolder = document.createElement("div"); const buttonHolder = document.createElement("div");
buttonHolder.classList.add("menu-button-holder"); buttonHolder.classList.add("menu-button-holder");
@@ -1286,10 +1286,8 @@ function prepareMenu() {


buttonHolder.appendChild(button); buttonHolder.appendChild(button);
buttonHolder.appendChild(actionText); buttonHolder.appendChild(actionText);
span.appendChild(buttonHolder);
menubar.appendChild(buttonHolder);
}); });

menubar.appendChild(span);
}); });


if (checkHelpDate()) { if (checkHelpDate()) {


Loading…
Cancel
Save