Center privacy modal
This commit is contained in:
@@ -721,6 +721,10 @@ button {
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
z-index: 21;
|
z-index: 21;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 1rem;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
overscroll-behavior: contain;
|
overscroll-behavior: contain;
|
||||||
}
|
}
|
||||||
@@ -736,7 +740,6 @@ button {
|
|||||||
position: relative;
|
position: relative;
|
||||||
width: min(680px, calc(100vw - 2rem));
|
width: min(680px, calc(100vw - 2rem));
|
||||||
max-height: calc(100vh - 2rem);
|
max-height: calc(100vh - 2rem);
|
||||||
margin: 2rem auto;
|
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
padding: 2rem;
|
padding: 2rem;
|
||||||
@@ -1082,7 +1085,6 @@ button {
|
|||||||
.privacy-flyover__panel {
|
.privacy-flyover__panel {
|
||||||
width: calc(100vw - 2.5rem);
|
width: calc(100vw - 2.5rem);
|
||||||
max-height: calc(100dvh - 2.5rem);
|
max-height: calc(100dvh - 2.5rem);
|
||||||
margin: 1.25rem auto;
|
|
||||||
padding: 1.2rem;
|
padding: 1.2rem;
|
||||||
border-radius: 2rem;
|
border-radius: 2rem;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user