modal: add relative geometry property

This commit is contained in:
bordun 2020-11-15 11:26:23 +01:00
parent 0cd3db8583
commit c893241313
4 changed files with 20 additions and 2 deletions

View file

@ -515,6 +515,21 @@
}
&.relative {
> .popup {
left: auto;
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);
}
}
}
.modal-breakout {