fix: correct toggle_button class attribute syntax
Fixed incorrect class attribute syntax in toggle_button that was using tuple notation (hidden: @slideover_open) instead of proper conditional.
This commit is contained in:
parent
533061c261
commit
1a92b89ca8
1 changed files with 1 additions and 1 deletions
|
|
@ -1049,7 +1049,7 @@ defmodule AprsmeWeb.MapLive.Index do
|
||||||
class={[
|
class={[
|
||||||
"fixed right-4 top-4 z-40 bg-white rounded-lg shadow-lg p-3",
|
"fixed right-4 top-4 z-40 bg-white rounded-lg shadow-lg p-3",
|
||||||
"hover:bg-gray-50 transition-colors lg:hidden",
|
"hover:bg-gray-50 transition-colors lg:hidden",
|
||||||
hidden: @slideover_open
|
@slideover_open && "hidden"
|
||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
<.icon name="hero-bars-3" class="w-6 h-6 text-gray-700" />
|
<.icon name="hero-bars-3" class="w-6 h-6 text-gray-700" />
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue