modal: add relative geometry property
This commit is contained in:
parent
0cd3db8583
commit
c893241313
4 changed files with 20 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue