Constrain overlay card to bottom inset
This commit is contained in:
@@ -42,12 +42,12 @@
|
|||||||
.sg-delete-confirmation-pattern__floating-card {
|
.sg-delete-confirmation-pattern__floating-card {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: var(--layout-delete-confirmation-overlay-offset-block-start);
|
top: var(--layout-delete-confirmation-overlay-offset-block-start);
|
||||||
|
bottom: 10px;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
width: calc(100% * var(--layout-delete-confirmation-overlay-width-factor));
|
width: calc(100% * var(--layout-delete-confirmation-overlay-width-factor));
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
max-width: calc(100% * var(--layout-delete-confirmation-overlay-width-factor));
|
max-width: calc(100% * var(--layout-delete-confirmation-overlay-width-factor));
|
||||||
max-height: calc(100% - var(--layout-delete-confirmation-overlay-offset-block-start) - 10px);
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
z-index: var(--layer-delete-confirmation-overlay);
|
z-index: var(--layer-delete-confirmation-overlay);
|
||||||
box-shadow: var(--shadow-overlay);
|
box-shadow: var(--shadow-overlay);
|
||||||
|
|||||||
Reference in New Issue
Block a user