mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
fix: Only use x-show on logo when sidebar is collapsible (#19547)
* Only use x-show on logo when sidebar is collapsible * Update sidebar.blade.php --------- Co-authored-by: Dan Harrin <git@danharrin.com>
This commit is contained in:
co-authored by
Dan Harrin
parent
669ae00934
commit
bbe9ad4dbb
@@ -73,7 +73,12 @@
|
||||
|
||||
{{ \Filament\Support\Facades\FilamentView::renderHook(\Filament\View\PanelsRenderHook::SIDEBAR_LOGO_BEFORE) }}
|
||||
|
||||
<div x-show="$store.sidebar.isOpen" class="fi-sidebar-header-logo-ctn">
|
||||
<div
|
||||
@if ($isSidebarCollapsibleOnDesktop || $isSidebarFullyCollapsibleOnDesktop)
|
||||
x-show="$store.sidebar.isOpen"
|
||||
@endif
|
||||
class="fi-sidebar-header-logo-ctn"
|
||||
>
|
||||
@if ($homeUrl = filament()->getHomeUrl())
|
||||
<a {{ \Filament\Support\generate_href_html($homeUrl) }}>
|
||||
<x-filament-panels::logo />
|
||||
|
||||
Reference in New Issue
Block a user