Skip to content

Commit 9d31bd7

Browse files
teemingcclaude
andcommitted
Keep the words to a column in the middle when stacked
Between a phone and the side-by-side layout, the request sat against the left edge with the rest of the screen empty beside it. The title, request and GitHub link now share a column as wide as the title, centred, with the link hung from the same edge as the rest; the bridge still runs edge to edge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 34dc596 commit 9d31bd7

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

‎src/routes/+page.svelte‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,16 +515,28 @@
515515
--drop: 0px;
516516
}
517517

518+
/* Wider than a phone, the words keep to a column in the middle as wide as the title,
519+
so the request isn't left against one side with the screen empty beside it; the
520+
bridge still runs edge to edge */
521+
header,
522+
.request,
523+
.github {
524+
justify-self: center;
525+
width: 100%;
526+
max-width: 32rem;
527+
}
528+
518529
/* Across the whole screen, so only its top edge is soft */
519530
:global(:root:is([data-sky='dawn'], [data-sky='dusk'])) .page::before {
520531
grid-column: 1 / -1;
521532
margin-inline: -1.5rem;
522533
mask-image: linear-gradient(var(--ease));
523534
}
524535

536+
/* Hung from the same edge as everything above it */
525537
.github {
526538
align-self: end;
527-
justify-content: center;
539+
justify-content: flex-start;
528540
padding-top: 1.5rem;
529541
}
530542
}

0 commit comments

Comments
 (0)