Skip to content

Commit 1d2d754

Browse files
authored
fix: password button (#564)
1 parent d64f368 commit 1d2d754

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/atomic_web/templates/user_registration/new.html.heex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
<.icon name="hero-eye-solid" class="w-5 h-auto fill-black hover:fill-black" />
5656
</div>
5757
<div x-show="!hide_confirm" x-on:click="hide_confirm = true; document.getElementById('user_password_confirmation').type = 'password';" class="px-2 w-fit cursor-pointer">
58-
<.icon name="hero-eye-slash-solid" class="w-5 h-auto fill-black hover:fill-black" />
58+
<.icon name="hero-eye-slash-solid" class="w-5 h-auto fill-black hover:fill-black " />
5959
</div>
6060
</div>
6161
<span class="text-sm w-full sm:w-96 mx-4 text-red-600"><%= error_tag(f, :password_confirmation) %></span>

lib/atomic_web/templates/user_session/new.html.heex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@
3232
class: "relative w-full border-0 text-zinc-900 rounded appearance-none outline-none focus:ring-0 sm:text-sm"
3333
) %>
3434
<div x-show="hide" x-on:click="hide = false; document.getElementById('user_password').type = 'text';" class="px-2 w-fit cursor-pointer">
35-
<.icon name="hero-eye-solid" class="w-5 h-auto fill-zinc-900 hover:fill-black" />
35+
<.icon name="hero-eye-solid" class="w-5" />
3636
</div>
3737
<div x-show="!hide" x-on:click="hide = true; document.getElementById('user_password').type = 'password';" class="px-2 w-fit cursor-pointer">
38-
<.icon name="hero-eye-slash-solid" class="w-5 h-auto fill-zinc-900 hover:fill-black" />
38+
<.icon name="hero-eye-slash-solid" class="w-5" />
3939
</div>
4040
</div>
4141
</div>

0 commit comments

Comments
 (0)