You wont belive it

This commit is contained in:
Michał Gdula 2022-08-07 18:28:21 +01:00
parent 8da2aff265
commit ffa8a8e1a3
8 changed files with 73 additions and 49 deletions

View file

@ -20,7 +20,7 @@
max-width: 621px; width: calc(100% - 3.5rem);
max-height: 20rem; height: auto; min-height: 10rem;
position: fixed; z-index: 99999;
position: fixed; z-index: 999999999;
left: 50%; bottom: -15rem;
transform: translateX(-50%) scale(0.5);
@ -42,10 +42,12 @@
display: inline;
box-sizing: border-box;
}
/* Worlds shittest workaround to a problem I have no clue how to fix */
.flyout-actionbox * {
.flyout-actionbox *,
.flyout-actionbox * * {
width: 100%;
}
.flyout-actionbox * * {
.flyout-actionbox * * * {
width: auto;
}

View file

@ -20,7 +20,7 @@ function flyoutShow(header, description, actionbox) {
// Set information in flyout
flyoutHeader.textContent = header;
flyoutDescription.textContent = description;
flyoutActionbox.innerHTML = actionbox;
$(flyoutActionbox).html(actionbox);
// Show the flyout
flyoutRoot.style.display = "flex";