Match contact flyover behavior

This commit is contained in:
2026-03-25 17:10:46 +01:00
parent 6677d04738
commit 19b66f7754
2 changed files with 41 additions and 11 deletions

View File

@@ -728,10 +728,6 @@ button {
position: fixed;
inset: 0;
z-index: 21;
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
overflow-y: auto;
overscroll-behavior: contain;
}
@@ -744,7 +740,9 @@ button {
}
.privacy-flyover__panel {
position: relative;
position: absolute;
top: var(--privacy-flyover-top, 2rem);
left: var(--privacy-flyover-left, auto);
width: min(680px, calc(100vw - 2rem));
max-height: calc(100vh - 2rem);
overflow-x: hidden;
@@ -1095,17 +1093,16 @@ button {
}
.privacy-flyover {
display: block;
padding: 0;
}
.privacy-flyover__panel {
position: absolute;
top: auto;
right: 1.25rem;
bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
left: 1.25rem;
width: auto;
max-width: none;
width: calc(100vw - 2.5rem);
max-width: calc(100vw - 2.5rem);
max-height: calc(100dvh - 2.5rem - env(safe-area-inset-bottom, 0px));
margin: 0;
padding: 1.2rem;