Fix flyover viewport overflow
This commit is contained in:
@@ -584,6 +584,8 @@ button {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 20;
|
||||
overflow-y: auto;
|
||||
overscroll-behavior: contain;
|
||||
}
|
||||
|
||||
.contact-flyover__backdrop {
|
||||
@@ -598,6 +600,8 @@ button {
|
||||
top: var(--flyover-top, 2rem);
|
||||
left: var(--flyover-left, auto);
|
||||
width: min(420px, calc(100vw - 2rem));
|
||||
max-height: calc(100vh - 2rem);
|
||||
overflow-y: auto;
|
||||
padding: 2rem;
|
||||
border-radius: var(--radius-panel);
|
||||
background: var(--bg-light);
|
||||
@@ -893,6 +897,7 @@ button {
|
||||
bottom: 1rem;
|
||||
left: 1rem;
|
||||
width: auto;
|
||||
max-height: calc(100dvh - 2rem);
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user