Constrain overlay card to bottom inset

This commit is contained in:
2026-06-16 10:23:27 +02:00
parent 94751068b7
commit 964142b00a
+1 -1
View File
@@ -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);