Adjust overlay card vertical behavior
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user