File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
packages/localization/resources/views/filament/tables/columns Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change 3939 <div style =" padding-left : 30% ; position : relative ; height : 28px ; min-width : 66px ;" >
4040 <div style =" position : relative ; height : 28px ; min-width : 66px ;" >
4141 @foreach ($visibleFlags as $index => $flag )
42- @php
43- $isTrashed = str_contains ($flag , ' trashed' );
44- $flagComponent = str_replace (' trashed' , ' ' , $flag );
45- @endphp
46- <span style =" position : absolute ; left : {{ $index * 18 }}px ; z-index : {{ 10 + $index }};" >
47- <x-dynamic-component :component =" $flagComponent"
48- style =" width : 24px ; height : 24px ; border-radius : 50% ; background : #fff ;" />
49- </span >
42+ @php
43+ $isTrashed = str_contains ($flag , ' trashed' );
44+ $flagComponent = str_replace (' trashed' , ' ' , $flag );
45+ @endphp
46+ <span style =" position : absolute ; left : {{ $index * 18 }}px ; z-index : {{ 5 + $index }};" >
47+ <x-dynamic-component :component =" $flagComponent"
48+ style =" width : 24px ; height : 24px ; border-radius : 50% ; background : #fff ;" />
49+ </span >
5050 @endforeach
51- @if ($remainingFlags > 0 )
52- <span style =" position : absolute ; left : {{ (count($visibleFlags) * 18) + 8 }}px ; z-index : 20 ;" >
51+ @if ($remainingFlags > 0 )
52+ <span style =" position : absolute ; left : {{ (count($visibleFlags) * 18) + 8 }}px ; z-index : {{ 5 + $index }} ;" >
5353 <div class =" flex items-center justify-center w-6 h-6 text-sm font-bold text-black rounded-full bg-white border border-gray-300" >
54- +{{ $remainingFlags } }
55- </div >
56- </span >
57- @endif
54+ +{{ $remainingFlags } }
55+ </div >
56+ </span >
57+ @endif
5858 </div >
5959 </div >
6060</x-filament-forms::field-wrapper >
You can’t perform that action at this time.
0 commit comments