chore: move password field toggle to scss file

This commit is contained in:
kolaente 2021-12-11 21:53:00 +01:00 committed by Dominik Pschenitschni
parent 66d5e851e8
commit 8397608fef
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
4 changed files with 9 additions and 17 deletions

View file

@ -3,4 +3,5 @@
@import "list"; @import "list";
@import "task"; @import "task";
@import "tasks"; @import "tasks";
@import "namespaces"; @import "namespaces";
@import 'password-field-toggle';

View file

@ -0,0 +1,7 @@
.password-field-type-toggle {
position: absolute;
color: var(--grey-400);
top: 50%;
right: 1rem;
transform: translateY(-50%);
}

View file

@ -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>

View file

@ -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>