Fix Firefox survey overflow
This commit is contained in:
@@ -42,15 +42,20 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 1.5rem;
|
gap: 1.5rem;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
width: calc(100% - (var(--survey-page-gutter) * 2));
|
|
||||||
max-width: 1400px;
|
max-width: 1400px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
margin: 0 auto clamp(2rem, 4vw, 3.5rem);
|
margin-top: 0;
|
||||||
|
margin-right: max(var(--survey-page-gutter), calc((100% - 1400px) / 2));
|
||||||
|
margin-bottom: clamp(2rem, 4vw, 3.5rem);
|
||||||
|
margin-left: max(var(--survey-page-gutter), calc((100% - 1400px) / 2));
|
||||||
padding: 1rem 1.25rem 0.5rem;
|
padding: 1rem 1.25rem 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.survey-brand-logo {
|
.survey-brand-logo {
|
||||||
display: block;
|
display: block;
|
||||||
|
min-width: 0;
|
||||||
|
max-width: 100%;
|
||||||
|
flex-shrink: 1;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
object-position: center;
|
object-position: center;
|
||||||
}
|
}
|
||||||
@@ -68,11 +73,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.survey-shell {
|
.survey-shell {
|
||||||
width: calc(100% - (var(--survey-page-gutter) * 2));
|
|
||||||
max-width: 1400px;
|
max-width: 1400px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
margin-left: auto;
|
margin-left: max(var(--survey-page-gutter), calc((100% - 1400px) / 2));
|
||||||
margin-right: auto;
|
margin-right: max(var(--survey-page-gutter), calc((100% - 1400px) / 2));
|
||||||
color: var(--survey-black);
|
color: var(--survey-black);
|
||||||
font-family: "PT Sans Narrow", sans-serif;
|
font-family: "PT Sans Narrow", sans-serif;
|
||||||
letter-spacing: 0.3px;
|
letter-spacing: 0.3px;
|
||||||
|
|||||||
Reference in New Issue
Block a user