Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Commit

Permalink
Don't let the username word wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
mybearworld committed Jun 14, 2024
1 parent a57d426 commit 5fbc0db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,15 @@ const PostBase = memo((props: PostBaseProps) => {
bubble={
<div
className={twMerge(
"flex",
"flex max-w-full",
props.reply ? "flex-row items-center gap-2" : "flex-col",
)}
>
<div className="flex">
<User username={props.post.u}>
<button
className={twMerge(
"grow text-left font-bold",
"grow text-nowrap text-left font-bold",
props.reply ? "" : "text-sm",
)}
>
Expand Down

0 comments on commit 5fbc0db

Please sign in to comment.