Pagination drowdown styling..

This commit is contained in:
Cüneyt Şentürk
2022-06-03 08:59:21 +03:00
parent 5f40a40fb6
commit e7ea84f62f
2 changed files with 10 additions and 2 deletions

View File

@ -11,7 +11,15 @@
{!! $trigger !!}
</button>
<div id="{{ $id }}" class="absolute right-0 mt-3 py-2 bg-white rounded-md border border-gray-200 shadow-xl z-20 hidden" style="left: auto; min-width: 10rem;">
<div
id="{{ $id }}"
class="absolute right-0 mt-3 py-2 bg-white rounded-md border border-gray-200 shadow-xl z-20 hidden"
@if ($attributes->has('style'))
style="{{ $attributes->get('style') }}"
@else
style="left: auto; min-width: 10rem;"
@endif
>
@stack('button_dropdown_start')
{{ $slot }}