modal: relative mode only works on position, size must stay relative to the window size otherwise it can't break out of parent boundaries

This commit is contained in:
bordun 2020-11-16 19:49:01 +01:00
parent 4b250fc389
commit 8e3a186a3f
3 changed files with 4 additions and 3 deletions

View file

@ -523,12 +523,13 @@
right: auto;
top: auto;
bottom: auto;
position: absolute;
width: var(--width, 100%);
height: var(--height, 100%);
margin-top: calc(-1 * var(--widget-spacing));
margin-left: calc(-1 * var(--widget-spacing));
padding: var(--widget-spacing);
align-items:flex-start;
justify-content: flex-start;
}
}