File tree Expand file tree Collapse file tree 1 file changed +23
-23
lines changed
resources/views/components/frameworks/tailwind Expand file tree Collapse file tree 1 file changed +23
-23
lines changed Original file line number Diff line number Diff line change @@ -117,29 +117,29 @@ class="select-none cursor-pointer relative inline-flex items-center px-3 py-2 -m
117117 @endforeach
118118
119119 @if ($paginator -> hasMorePages () )
120- <div >
121- @if ( $paginator -> lastPage () - $paginator -> currentPage () >= 2 )
122- < a
123- class = " select-none cursor-pointer relative inline-flex items-center px-2 py-2 text-sm font-medium text-pg-primary-500 dark:text-pg-primary-300 bg-white dark:bg-pg-primary-600 border border-pg-primary-300 dark:border-transparent leading-5 hover:text-pg-primary-400 focus:z-10 focus:outline-none focus:shadow-outline-blue active:bg-pg-primary-100 active:text-pg-primary-500 transition ease-in-out duration-150 "
124- wire:click = " nextPage(' {{ $paginator -> getPageName () } } ') "
125- rel = " next "
126- >
127- < svg
128- fill = " none "
129- viewBox = " 0 0 24 24 "
130- stroke-width = " 1.5 "
131- stroke = " currentColor "
132- class = " w-5 h- 5"
133- >
134- < path
135- stroke-linecap = " round "
136- stroke-linejoin = " round "
137- d = " m8.25 4.5 7.5 7.5-7.5 7.5 "
138- />
139- </ svg >
140- </ a >
141- @endif
142- <div >
120+ <a
121+ @class ( [
122+ ' block ' => $paginator -> lastPage () - $paginator -> currentPage () >= 2 ,
123+ ' hidden ' => $paginator -> lastPage () - $paginator -> currentPage () < 2 ,
124+ ' select-none cursor-pointer relative inline-flex items-center px-2 py-2 text-sm font-medium text-pg-primary-500 dark:text-pg-primary-300 bg-white dark:bg-pg-primary-600 border border-pg-primary-300 dark:border-transparent leading-5 hover:text-pg-primary-400 focus:z-10 focus:outline-none focus:shadow-outline-blue active:bg-pg-primary-100 active:text-pg-primary-500 transition ease-in-out duration-150 '
125+ ] )
126+ wire:click = " nextPage(' {{ $paginator -> getPageName () } } ') "
127+ rel = " next "
128+ >
129+ < svg
130+ fill = " none "
131+ viewBox = " 0 0 24 24 "
132+ stroke-width = " 1. 5"
133+ stroke = " currentColor "
134+ class = " w-5 h-5 "
135+ >
136+ < path
137+ stroke-linecap = " round "
138+ stroke-linejoin = " round "
139+ d = " m8.25 4.5 7.5 7.5-7.5 7.5 "
140+ / >
141+ </ svg >
142+ </ a >
143143 <a
144144 class =" select-none cursor-pointer cursor-pointer relative inline-flex items-center px-2 py-2 text-sm font-medium text-pg-primary-500 dark:text-pg-primary-300 bg-white dark:bg-pg-primary-600 border border-pg-primary-300 dark:border-transparent rounded-r-md leading-5 hover:text-pg-primary-400 focus:z-10 focus:outline-none focus:shadow-outline-blue active:bg-pg-primary-100 active:text-pg-primary-500 transition ease-in-out duration-150"
145145 wire:click =" gotoPage({{ $paginator -> lastPage () } } , '{{ $paginator -> getPageName () } } ')"
You can’t perform that action at this time.
0 commit comments