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
parent
e71bd33e63
commit
3c24c19b19
|
|
@ -95,7 +95,7 @@
|
|||
html[data-sidebar-collapsed] .nim-content { margin-left: 55px; }
|
||||
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; }
|
||||
.nim-sb-collapsed { display: none !important; }
|
||||
html[data-sidebar-collapsed] .nim-sb-collapsed { display: flex !important; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue