Skip to content

v2.0.5

@taliesinpenbardd taliesinpenbardd tagged this 06 May 14:36
Per Flux docs (https://fluxui.dev/layouts/sidebar), the body of an admin
layout must follow this structure :

<body>
    <flux:sidebar>...</flux:sidebar>
    <flux:header class=\"lg:hidden\">...</flux:header>
    <flux:main>{{ \$slot }}</flux:main>
    @fluxScripts
</body>

Without <flux:main> wrapping the slot, the sidebar layout breaks — sidebar
collapses at the top instead of taking full viewport height, because flux
relies on flex layout siblings (sidebar + main) to size correctly.

Touche app/sidebar.blade.php et app/header.blade.php (le starter Livewire
Laravel d'origine omet <flux:main>, c'est probablement un oubli upstream).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Assets 2
Loading