@use('Filament\Support\Facades\FilamentAsset') @php $modal = $this->getConfigs()->getModal(); $isRetainRecentIfFavorite = $this->getConfigs()->isRetainRecentIfFavorite(); $maxItemsAllowed = $this->getConfigs()->getMaxItemsAllowed() ?? 10; $hasFooterView = $this->getConfigs()->hasFooterView(); $footerView = $this->getConfigs()->getFooterView(); $EmptyQueryView = $this->getConfigs()->getEmptyQueryView(); // here I am going to force custom style for built-in filament modal $classes = [ // there is lot of padding around the modal reduce it. '[&_.fi-modal-header]:!px-4 [&_.fi-modal-header]:!py-4', // reduce also the padding of contents '[&_.fi-modal-content]:!py-3 [&_.fi-modal-content]:!px-4', // reduce top padding a little bit '[&_.fi-modal-window-ctn]:!grid-rows-[0.6fr_auto_1fr] [&_.fi-modal-window-ctn]:sm:!grid-rows-[0.5fr_auto_3fr]', // give it some padding when the auto in "0.6fr_auto_1fr" expand across '[&_:not(.fi-modal-slide-over):not(.fi-width-screen)_.fi-modal-window-ctn]:!pt-16', // handle the close button '[&_.fi-modal-close-btn]:!top-4 [&_.fi-modal-close-btn]:!end-4 [&_.fi-modal-close-btn]:!p-0.5 [&_.fi-modal-close-btn]:size-6 ', // control results container heights '[&_:not(.fi-modal-slide-over):not(.fi-width-screen)_.results-container]:max-h-[67vh]', '[&_.fi-modal-slide-over_.results-container]:!max-h-[80vh] [&_.fi-modal-slide-over_.results-container]:!min-h-full', '[&_.fi-width-screen_.results-container]:!max-h-[80vh]', // chrome scroll bar sucks (make it looks like what firefox does) '[&_.results-container]:[scrollbar-width:thin]', '[&_.results-container]:[scrollbar-color:rgba(156_,_163_,_175_,_0.7)_transparent]', '[&_.results-container::-webkit-scrollbar]:w-[6px]', '[&_.results-container::-webkit-scrollbar-thumb]:bg-gray-400/70', '[&_.results-container::-webkit-scrollbar-thumb]:rounded-full', '[&_.results-container::-webkit-scrollbar-thumb:hover]:bg-gray-500/90', '[&_.results-container::-webkit-scrollbar-track]:bg-transparent', 'dark:[&_.results-container::-webkit-scrollbar-thumb]:bg-gray-500/70', ]; @endphp
{{ __('Please enter a search term to get started.') }}