Bladeren bron

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 jaren geleden
bovenliggende
commit
ecbdf755a5
2 gewijzigde bestanden met toevoegingen van 4 en 5 verwijderingen
  1. +1
    -0
      macrovision.css
  2. +3
    -5
      macrovision.js

+ 1
- 0
macrovision.css Bestand weergeven

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


+ 3
- 5
macrovision.js Bestand weergeven

@@ -1258,8 +1258,8 @@ function prepareMenu() {
}
]
].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 => {
const buttonHolder = document.createElement("div");
buttonHolder.classList.add("menu-button-holder");
@@ -1286,10 +1286,8 @@ function prepareMenu() {

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

menubar.appendChild(span);
});

if (checkHelpDate()) {


Laden…
Annuleren
Opslaan