chore: move password field toggle to scss file
This commit is contained in:
parent
66d5e851e8
commit
8397608fef
4 changed files with 9 additions and 17 deletions
|
@ -4,3 +4,4 @@
|
||||||
@import "task";
|
@import "task";
|
||||||
@import "tasks";
|
@import "tasks";
|
||||||
@import "namespaces";
|
@import "namespaces";
|
||||||
|
@import 'password-field-toggle';
|
||||||
|
|
7
src/styles/components/password-field-toggle.scss
Normal file
7
src/styles/components/password-field-toggle.scss
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
.password-field-type-toggle {
|
||||||
|
position: absolute;
|
||||||
|
color: var(--grey-400);
|
||||||
|
top: 50%;
|
||||||
|
right: 1rem;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
}
|
|
@ -275,11 +275,4 @@ export default {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.password-field-type-toggle {
|
|
||||||
position: absolute;
|
|
||||||
top: .5rem;
|
|
||||||
right: 1rem;
|
|
||||||
color: var(--grey-400);
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -162,12 +162,3 @@ async function submit() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
.password-field-type-toggle {
|
|
||||||
position: absolute;
|
|
||||||
top: .5rem;
|
|
||||||
right: 1rem;
|
|
||||||
color: var(--grey-400);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
Loading…
Reference in a new issue