Adjust overlay card vertical behavior

This commit is contained in:
2026-06-15 10:35:32 +02:00
parent 379a3dec24
commit e35643c270
4 changed files with 11 additions and 4 deletions
+5 -2
View File
@@ -40,12 +40,15 @@
.sg-delete-confirmation-pattern__floating-card {
position: absolute;
top: 50%;
top: var(--layout-delete-confirmation-overlay-offset-block-start);
left: 50%;
transform: translate(-50%, -50%);
transform: translateX(-50%);
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));
min-height: calc(100% - var(--layout-delete-confirmation-overlay-offset-block-start));
max-height: var(--layout-delete-confirmation-overlay-max-height);
overflow: auto;
z-index: var(--layer-delete-confirmation-overlay);
box-shadow: var(--shadow-overlay);
}