fix: remove @persist from CSS comment to prevent Blade directive parse error

Blade processes @-directives everywhere in templates including inside <style>
blocks and HTML comments. The word "@persist" in a CSS comment was being
interpreted as Livewire's @persist directive, compiling to e() with no argument.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
main
boban 2026-05-17 13:09:37 +02:00
parent e71bd33e63
commit 3c24c19b19
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@
html[data-sidebar-collapsed] .nim-content { margin-left: 55px; } html[data-sidebar-collapsed] .nim-content { margin-left: 55px; }
html[data-sidebar-collapsed] .sidebar-aside { width: 4rem; } html[data-sidebar-collapsed] .sidebar-aside { width: 4rem; }
} }
/* Sidebar collapsed/expanded visibility — CSS-driven, bypasses @persist Alpine issue */ /* Sidebar collapsed/expanded visibility — CSS-driven, bypasses persist Alpine issue */
html[data-sidebar-collapsed] .nim-sb-expanded { display: none !important; } html[data-sidebar-collapsed] .nim-sb-expanded { display: none !important; }
.nim-sb-collapsed { display: none !important; } .nim-sb-collapsed { display: none !important; }
html[data-sidebar-collapsed] .nim-sb-collapsed { display: flex !important; } html[data-sidebar-collapsed] .nim-sb-collapsed { display: flex !important; }