Force background color in modal close button

This commit is contained in:
Claudio Ortolina
2024-10-17 15:15:17 +01:00
parent 1c4c2c0040
commit e3ac5559c3
@@ -72,7 +72,7 @@ defmodule MusicLibraryWeb.CoreComponents do
<button
phx-click={JS.exec("data-cancel", to: "##{@id}")}
type="button"
class="-m-3 flex-none p-3 opacity-20 hover:opacity-40"
class="-m-3 flex-none p-3 opacity-20 hover:opacity-40 bg-gray-50"
aria-label={gettext("close")}
>
<.icon name="hero-x-mark-solid" class="h-5 w-5" />