Skip to content

Commit

Permalink
fixes (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio authored Nov 23, 2024
1 parent dc65f05 commit 7def31d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@
{{ $item['name'] }}
</x-table.td>

<x-table.td align="left" class="w-1">
<x-table.td align="left">
{{ $item['party'] }}
</x-table.td>

</x-table.row>
@endforeach

Expand All @@ -43,5 +42,4 @@
</x-table.row>
@endif
</x-slot>

</x-table>
5 changes: 5 additions & 0 deletions resources/views/components/election/header.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,10 @@

<span class="font-semibold text-indigo-600">
{{ $election->title }}

@if ($election->subtitle)
/
{{ $election->subtitle }}
@endif
</span>
</header>
2 changes: 1 addition & 1 deletion resources/views/components/table/td.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<td
{{ $attributes->class([
'px-3 py-4 text-sm font-semibold text-gray-500 whitespace-nowrap',
'px-3 py-4 text-sm font-semibold text-gray-500',
match ($align) {
'left' => 'text-left',
'right' => 'text-right',
Expand Down
2 changes: 1 addition & 1 deletion resources/views/components/timeline/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class="text-xl font-bold text-slate-900"
$isLiveGroup = $isLiveElectionGroup($elections);
@endphp

<li x-data="{ open: @js($isActiveElectionType($type)) }">
<li x-data="{ open: @js($isActiveElectionType($type) || $isLiveGroup) }">
<button
type="button"
class="flex gap-1 justify-between text-left w-full"
Expand Down

0 comments on commit 7def31d

Please sign in to comment.