Fix delete overlay centering and enforce 80 percent width
This commit is contained in:
@@ -27,10 +27,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: 50%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translate(-50%, -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;
|
||||||
|
max-width: calc(100% * var(--layout-delete-confirmation-overlay-width-factor));
|
||||||
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