fix(views): fix role filter bug

The code changes in `list_all.blade.php` fix a spacing issue in the champion card component. So filters work now
This commit is contained in:
Rico van Zelst
2023-12-28 14:43:30 +01:00
parent 391e2a19f4
commit 8aac9e6bd9

View File

@@ -18,7 +18,7 @@
@foreach($champions as $key => $champion)
<div
class="champ-card flex flex-col text-gray-700 bg-stone-800/40 shadow-md rounded-2xl bg-clip-border
border border-stone-800 hover:border-orange-500/10 hover:shadow-orange-500/10 @foreach($roles[$key]->roles as $lane)POS-{{$lane}}@endforeach">
border border-stone-800 hover:border-orange-500/10 hover:shadow-orange-500/10 @foreach($roles[$key]->roles as $lane) POS-{{$lane}}@endforeach">
<div
class="mx-4 mt-4 overflow-hidden h-52 rounded-2xl bg-clip-border border-2 border-orange-400/40">
<img @if($key < 8) loading="eager" @else loading="lazy" @endif