Skip to content

Commit bc94b43

Browse files
committed
clamp user bio
1 parent fc52eb5 commit bc94b43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/algora_web/live/home_live.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ defmodule AlgoraWeb.HomeLive do
310310
/>
311311
<div class="font-display mt-1 rounded-xl rounded-t-none bg-card/50 p-3 text-sm ring-1 ring-border backdrop-blur-sm">
312312
<div class="font-semibold text-foreground">{@dev.name} {@dev.flag}</div>
313-
<div class="mt-0.5 text-xs font-medium text-foreground">{@dev.bio}</div>
313+
<div class="mt-0.5 text-xs font-medium text-foreground line-clamp-2">{@dev.bio}</div>
314314
<div class="hidden mt-1 text-sm">
315315
<div class="-ml-1 flex h-6 flex-wrap gap-1 overflow-hidden p-px text-sm">
316316
<%= for tech <- @dev.tech_stack do %>

0 commit comments

Comments
 (0)