From dc75ac5f6c70c767e4bd6a83e7187a5f0c955f01 Mon Sep 17 00:00:00 2001 From: Gabriel Kaszewski Date: Fri, 29 May 2026 01:44:03 +0200 Subject: [PATCH] fix(frontend): prevent handle overflow in instance badge row --- thoughts-frontend/components/movie-card.tsx | 2 +- thoughts-frontend/components/thought-card.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/thoughts-frontend/components/movie-card.tsx b/thoughts-frontend/components/movie-card.tsx index 0a1ee94..0ab1deb 100644 --- a/thoughts-frontend/components/movie-card.tsx +++ b/thoughts-frontend/components/movie-card.tsx @@ -66,7 +66,7 @@ export function MovieCard({ meta, author, createdAt }: MovieCardProps) { {author.displayName ?? author.username} {!author.local && (
- + {author.username.startsWith("@") ? author.username : `@${author.username}`} diff --git a/thoughts-frontend/components/thought-card.tsx b/thoughts-frontend/components/thought-card.tsx index ae3de06..f19e8b3 100644 --- a/thoughts-frontend/components/thought-card.tsx +++ b/thoughts-frontend/components/thought-card.tsx @@ -166,7 +166,7 @@ export function ThoughtCard({ {!author.local && (
- + {author.username.startsWith("@") ? author.username : `@${author.username}`}