mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2025-12-13 05:26:47 +00:00
🎨 style(pages): adjust line clamping for project description and votes display in index view
This commit is contained in:
@@ -173,7 +173,7 @@ $delete = function ($id) {
|
|||||||
{{ $project->name }}
|
{{ $project->name }}
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-sm line-clamp-3">
|
<div class="text-sm line-clamp-1 sm:line-clamp-3">
|
||||||
{!! strip_tags($project->description) !!}
|
{!! strip_tags($project->description) !!}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -190,7 +190,7 @@ $delete = function ($id) {
|
|||||||
</div>
|
</div>
|
||||||
<!-- Avatars -->
|
<!-- Avatars -->
|
||||||
@if($project->votes->where('value', true)->count() > 0)
|
@if($project->votes->where('value', true)->count() > 0)
|
||||||
<div class="flex items-center space-x-2">
|
<div class="hidden sm:flex items-center space-x-2">
|
||||||
<div class="text-xs font-medium text-gray-400 dark:text-gray-300 italic">
|
<div class="text-xs font-medium text-gray-400 dark:text-gray-300 italic">
|
||||||
Anzahl der Unterstützer:
|
Anzahl der Unterstützer:
|
||||||
+{{ $project->votes->where('value', true)->count() }}
|
+{{ $project->votes->where('value', true)->count() }}
|
||||||
|
|||||||
Reference in New Issue
Block a user