|
|
@ -66,7 +66,7 @@ defmodule DecentralisedBookIndexWeb.CoreComponents do
|
|
|
|
phx-window-keydown={JS.exec("data-cancel", to: "##{@id}")}
|
|
|
|
phx-window-keydown={JS.exec("data-cancel", to: "##{@id}")}
|
|
|
|
phx-key="escape"
|
|
|
|
phx-key="escape"
|
|
|
|
phx-click-away={JS.exec("data-cancel", to: "##{@id}")}
|
|
|
|
phx-click-away={JS.exec("data-cancel", to: "##{@id}")}
|
|
|
|
class="shadow-zinc-700/10 ring-zinc-700/10 relative hidden rounded-2xl bg-white p-14 shadow-lg ring-1 transition"
|
|
|
|
class="shadow-zinc-700/10 ring-zinc-700/10 relative hidden rounded-2xl bg-white p-14 shadow-lg ring-1 transition dark:bg-gray-900"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<div class="absolute top-6 right-5">
|
|
|
|
<div class="absolute top-6 right-5">
|
|
|
|
<button
|
|
|
|
<button
|
|
|
@ -75,7 +75,7 @@ defmodule DecentralisedBookIndexWeb.CoreComponents do
|
|
|
|
class="-m-3 flex-none p-3 opacity-20 hover:opacity-40"
|
|
|
|
class="-m-3 flex-none p-3 opacity-20 hover:opacity-40"
|
|
|
|
aria-label={gettext("close")}
|
|
|
|
aria-label={gettext("close")}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<.icon name="hero-x-mark-solid" class="h-5 w-5" />
|
|
|
|
<.icon name="hero-x-mark-solid" class="h-5 w-5 dark:text-white" />
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id={"#{@id}-content"}>
|
|
|
|
<div id={"#{@id}-content"}>
|
|
|
|