Fix width issue with onboarding card on mobile
This commit is contained in:
@@ -100,7 +100,7 @@ export class OnboardingFlow extends React.Component<OnboardingFlowProps> {
|
||||
const step = steps[stepIndex];
|
||||
const isLastStep = steps.length - 1 === stepIndex;
|
||||
return (
|
||||
<Container position="relative" zIndex={1} maxWidth="100vw">
|
||||
<Container position="relative" zIndex={1}>
|
||||
<OnboardingCard
|
||||
title={step.title}
|
||||
content={step.content}
|
||||
|
@@ -14,12 +14,14 @@ const appearFromBottomFrames = keyframes`
|
||||
position: fixed;
|
||||
bottom: -500px;
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
}
|
||||
|
||||
to {
|
||||
position: fixed;
|
||||
bottom: 0px;
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
}
|
||||
`;
|
||||
|
||||
|
Reference in New Issue
Block a user