towerops/lib/towerops_web/components
Graham McIntie 8e25034e69 Move sidebar-collapsed class to <html> element
LiveView DOM patching was stripping the client-side sidebar-collapsed
class from #sidebar-wrapper on every navigation. Fix: put the class
on document.documentElement which LiveView never touches.

- Sync script in <head> applies state before first paint (no flash)
- Hook click handler toggles on <html> + saves to localStorage
- CSS selectors updated to html.sidebar-collapsed
- Removed phx-click JS.toggle_class (hook handles toggle directly)
2026-03-13 14:28:38 -05:00
..
layouts Move sidebar-collapsed class to <html> element 2026-03-13 14:28:38 -05:00
breadcrumbs.ex feat: add global CSS polish — transitions, hover effects, scrollbar styling, status pulse 2026-02-13 19:17:38 -06:00
consent_prompt.ex Prevent Oban polling/monitoring job stacking per device 2026-02-16 16:37:48 -06:00
cookie_consent.ex mib update from librenms 2026-01-28 13:38:31 -06:00
core_components.ex ux: improve mobile responsiveness across all pages 2026-03-12 16:49:59 -05:00
layouts.ex Move sidebar-collapsed class to <html> element 2026-03-13 14:28:38 -05:00
marketing_layouts.ex fix: add dark mode support to marketing site 2026-03-04 13:57:12 -06:00
skeletons.ex ui: polish auth pages, core components, and visual consistency 2026-02-14 21:11:33 -06:00