Skip to content

Commit f9b3203

Browse files
committed
responsive for sm and md devices
1 parent 3678566 commit f9b3203

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/guestbook.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ export default function Guestbook() {
228228
height={55}
229229
className="rounded-xl bg-muted"
230230
/>
231-
<div className="flex-1 min-w-[450px] w-full">
231+
<div className="flex-1 min-w-0 md:min-w-[450px] w-full">
232232
<div className="flex items-center justify-between w-full">
233233
<div className="flex items-center gap-1 w-full">
234234
<span className="font-semibold truncate">
@@ -237,8 +237,8 @@ export default function Guestbook() {
237237
<span className="text-muted-foreground text-sm truncate">
238238
@{msg.user_email.slice(0, 8)}
239239
</span>
240-
<span className="text-muted-foreground text-sm"></span>
241-
<span className="text-muted-foreground text-sm">
240+
<span className="hidden md:block text-muted-foreground text-sm"></span>
241+
<span className="hidden md:block text-muted-foreground text-sm">
242242
{new Date(msg.created_at).toLocaleDateString()}
243243
</span>
244244
</div>

0 commit comments

Comments
 (0)