mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
feat: icon changes when password is shown
This commit is contained in:
1 parent
864394d8b3
commit
d351cafe46
1 file changed
+4
-1
@@ -69,7 +69,10 @@
|
||||
on:click={() => (showInPlainText = !showInPlainText)}
|
||||
class="show-password-button"
|
||||
aria-label="show password">
|
||||
<span class="icon-eye" aria-hidden="true" />
|
||||
<span
|
||||
class:icon-eye={!showInPlainText}
|
||||
class:icon-eye-off={showInPlainText}
|
||||
aria-hidden="true" />
|
||||
</button>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user