Skip to content

Commit 2f62e9e

Browse files
fix(landing): size snapshot panel to its content (#1438)
* fix(landing): size snapshot panel to its content * fix(landing): size snapshot panel to its content
1 parent ab6efb4 commit 2f62e9e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/components/landing/VirtualLanding.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -389,8 +389,8 @@ function SnapshotPanel() {
389389
const [restored, setRestored] = React.useState(false)
390390

391391
return (
392-
<LandingWindow label="navigation snapshot">
393-
<div className="flex h-full flex-col p-5 sm:p-6">
392+
<LandingWindow className="lg:self-start" label="navigation snapshot">
393+
<div className="flex flex-col p-5 sm:p-6">
394394
<LandingEyebrow icon={<FloppyDiskIcon aria-hidden="true" size={14} />}>
395395
leave → return
396396
</LandingEyebrow>
@@ -426,7 +426,7 @@ function SnapshotPanel() {
426426
index.
427427
</p>
428428
<button
429-
className="mt-auto flex items-center justify-center gap-2 rounded-md bg-[var(--landing-accent)] px-3 py-2.5 text-ds-label-sm text-[var(--landing-accent-ink)]"
429+
className="mt-3 flex items-center justify-center gap-2 rounded-md bg-[var(--landing-accent)] px-3 py-2.5 text-ds-label-sm text-[var(--landing-accent-ink)]"
430430
onClick={() => setRestored((value) => !value)}
431431
type="button"
432432
>

0 commit comments

Comments
 (0)