Skip to content

Commit 56f1e12

Browse files
fix: community layout (#1048)
1 parent 699d020 commit 56f1e12

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

resources/views/articles/overview.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@
152152
<div class="flex items-center gap-x-5">
153153
<x-avatar :user="$author" class="w-10 h-10" />
154154

155-
<span class="flex flex-col">
156-
<a href="{{ route('profile', $author->username()) }}" class="hover:underline">
155+
<span class="flex flex-col flex-1 min-w-0">
156+
<a href="{{ route('profile', $author->username()) }}" class="truncate hover:underline">
157157
<span class="text-gray-900 font-medium">
158158
{{ $author->username() }}
159159
</span>

resources/views/forum/overview.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@
129129
<div class="flex items-center gap-x-5">
130130
<x-avatar :user="$member" class="w-10 h-10" />
131131

132-
<span class="flex flex-col">
133-
<a href="{{ route('profile', $member->username()) }}" class="hover:underline">
132+
<span class="flex flex-col flex-1 min-w-0">
133+
<a href="{{ route('profile', $member->username()) }}" class="truncate hover:underline">
134134
<span class="text-gray-900 font-medium">
135135
{{ $member->username() }}
136136
</span>

0 commit comments

Comments
 (0)