Skip to content

Commit

Permalink
move "Pinned" label to the right.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiCO2k committed Mar 22, 2024
1 parent 0617dde commit a7fec6e
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions resources/views/livewire/questions/show.blade.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<article class="block">
<div>
@if ($question->pinned)
<div class="mb-2 flex items-center space-x-1 px-4 text-sm focus:outline-none">
<x-icons.pin class="h-4 w-4 text-slate-400" />
<span class="text-slate-400">Pinned</span>
</div>
@endif

<div class="flex justify-between">
@if ($question->anonymously)
<div class="flex items-center gap-3 px-4 text-sm text-slate-500">
Expand Down Expand Up @@ -49,6 +42,12 @@ class="ml-1 mt-0.5 h-4 w-4 flex-shrink-0"
</div>
</a>
@endif
@if ($question->pinned)
<div class="mb-2 flex items-center space-x-1 px-4 text-sm focus:outline-none">
<x-icons.pin class="h-4 w-4 text-slate-400" />
<span class="text-slate-400">Pinned</span>
</div>
@endif
</div>

<p class="mb-4 mt-3 px-4 text-slate-200">
Expand Down

0 comments on commit a7fec6e

Please sign in to comment.