Skip to content

Commit ad33115

Browse files
committed
Fix line wrap of the uwu logo credit in the footer
The `.uwu-visible` class sets `display: flex`, so "Logo by" and the @sawaratsuki1004 link become two flex items. When the footer column is narrow, the "Logo by" item shrinks and wraps inside itself, and the link stays beside it: Logo @sawaratsuki1004 by Add `flex-wrap` so the link moves to the next line as a whole. Replace the link's `ms-1` with `gap-x-1` on the container, so the link has no indent when it wraps.
1 parent 046f17d commit ad33115

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎src/components/Layout/Footer.tsx‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,11 +309,9 @@ export function Footer() {
309309
}}>
310310
uwu?
311311
</div>
312-
<div className="uwu-visible text-xs">
312+
<div className="uwu-visible flex-wrap gap-x-1 text-xs">
313313
Logo by
314-
<ExternalLink
315-
className="ms-1"
316-
href="https://twitter.com/sawaratsuki1004">
314+
<ExternalLink href="https://twitter.com/sawaratsuki1004">
317315
@sawaratsuki1004
318316
</ExternalLink>
319317
</div>

0 commit comments

Comments
 (0)