Skip to content

Commit 396fedd

Browse files
committed
Fix style of first sync onboarding step
1 parent 9b6a626 commit 396fedd

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

src/views/onboarding/component.tsx

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -364,21 +364,23 @@ const FirstSyncStepComponent = ({
364364
style={loadingBarStyle()}
365365
></div>
366366
</div>
367-
<div className="progress-bar-context">
367+
<div
368+
className="progress-bar-context"
369+
style={{
370+
position: "relative",
371+
top: 0,
372+
}}
373+
>
368374
{error ? <div>{error}</div> : null}
369375
{success ? <div>Everything is set up and ready to go.</div> : null}
370376
</div>
371377
</div>
372378
{success ? (
373-
<button
374-
style={{
375-
color: "var(--text-on-accent)",
376-
backgroundColor: "var(--interactive-accent)",
377-
}}
378-
onClick={async () => await onClose()}
379-
>
380-
Close
381-
</button>
379+
<div className="modal-button-container">
380+
<button className="mod-cta" onClick={async () => await onClose()}>
381+
Close
382+
</button>
383+
</div>
382384
) : null}
383385
</div>
384386
);
@@ -515,6 +517,7 @@ const OnBoardingComponent = ({ onClose }: { onClose: () => Promise<void> }) => {
515517
position: "absolute",
516518
right: "var(--size-4-4)",
517519
top: "50%",
520+
display: step === "first_sync" ? "none" : "",
518521
}}
519522
disabled={!isValid}
520523
onClick={nextStep}

0 commit comments

Comments
 (0)