- Remove BodyClassHook: use CSS :has() selectors on data-map-page attribute
instead of JS toggling body.map-page class
- Remove ResponsiveSlideoverHook: pass viewport_width via LiveSocket connect
params and determine initial slideover state server-side
- Convert theme selector from data-set-theme attributes with DOMContentLoaded
listeners to JS.dispatch("phx:set-theme") with a single event handler
- Fix buggy reRenderAllCharts that incorrectly used `new MapAPRSMap()` as a
Map constructor; charts now re-render via themeChanged event directly
10 lines
177 B
Elixir
10 lines
177 B
Elixir
defmodule AprsmeWeb.Layouts do
|
|
@moduledoc false
|
|
use AprsmeWeb, :html
|
|
|
|
embed_templates "layouts/*"
|
|
|
|
def body_class(_assigns) do
|
|
["bg-base-100 antialiased"]
|
|
end
|
|
end
|