Fix visibility icon on password page
Fix popup buttons and description overflow
This commit is contained in:
parent
3f3dcdb821
commit
a1c512a96b
@ -95,7 +95,7 @@
|
||||
<div class="input-field">
|
||||
<input type="password" name="password" id="password" autocomplete="off" required />
|
||||
<label for="password">Password</label>
|
||||
<span class="toggle-visible tgico-eye1"></span>
|
||||
<span class="toggle-visible tgico"></span>
|
||||
</div>
|
||||
<button class="btn-primary rp">NEXT</button>
|
||||
</div>
|
||||
|
@ -57,7 +57,7 @@ let onFirstMount = (): Promise<any> => {
|
||||
cancelEvent(e);
|
||||
passwordVisible = !passwordVisible;
|
||||
|
||||
this.classList.toggle('tgico-eye2', passwordVisible);
|
||||
this.classList.toggle('eye-hidden', passwordVisible);
|
||||
if(passwordVisible) {
|
||||
passwordInput.setAttribute('type', 'text');
|
||||
animation.setDirection(1);
|
||||
|
@ -29,6 +29,14 @@
|
||||
cursor: pointer;
|
||||
transition: .2s;
|
||||
padding: .5rem;
|
||||
|
||||
&:before {
|
||||
content: $tgico-eye1;
|
||||
}
|
||||
|
||||
&.eye-hidden:before {
|
||||
content: $tgico-eye2;
|
||||
}
|
||||
|
||||
html.no-touch &:hover {
|
||||
color: #000;
|
||||
|
@ -27,6 +27,9 @@
|
||||
margin-bottom: 1.625rem;
|
||||
min-width: 15rem;
|
||||
max-width: fit-content;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
&-buttons {
|
||||
|
@ -100,6 +100,9 @@
|
||||
color: $color-blue;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
max-width: 100%;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
html.no-touch &:hover {
|
||||
background-color: var(--color-gray-hover);
|
||||
|
Loading…
x
Reference in New Issue
Block a user