Mercurial > gemma
changeset 616:51dc26b0f066
client: avoid extra password reveal button for IE/Edge
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Tue, 11 Sep 2018 09:50:37 +0200 |
parents | 4ffdb922db44 |
children | 4e90daa57086 |
files | client/src/login/Login.vue client/src/usermanagement/Passwordfield.vue |
diffstat | 2 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/login/Login.vue Mon Sep 10 19:12:24 2018 +0200 +++ b/client/src/login/Login.vue Tue Sep 11 09:50:37 2018 +0200 @@ -86,6 +86,11 @@ margin-right: auto; margin-bottom: auto; } + +/* avoid IE and Edge show a password reveal as we do our own */ +input[type="password"]::-ms-reveal { + display: none; +} </style> <script>
--- a/client/src/usermanagement/Passwordfield.vue Mon Sep 10 19:12:24 2018 +0200 +++ b/client/src/usermanagement/Passwordfield.vue Tue Sep 11 09:50:37 2018 +0200 @@ -9,6 +9,13 @@ </div> </template> +<style> +/* FIXME does not work here, unclear why, so added to Login.vue +input[type="password"]::-ms-reveal { + display: none; +} */ +</style> + <script> export default { name: "passwordfield",