From 01df08a49d7d06c7688cc1bcb5eac1fac402c5da Mon Sep 17 00:00:00 2001 From: Ishan Rai Date: Fri, 19 Jun 2020 14:56:16 +0000 Subject: [PATCH] mgr/dashboard: fix autocomplete input backgrounds in chrome and firefox Fixes: https://tracker.ceph.com/issues/46109 Signed-off-by: Ishan Rai --- .../frontend/src/app/core/auth/login/login.component.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login/login.component.scss b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login/login.component.scss index 94d943cc8038a..60c954161b0d1 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login/login.component.scss +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/login/login.component.scss @@ -30,6 +30,7 @@ box-shadow: none; color: $color-password-toggle-text; background-color: $color-password-toggle-bg; + filter: none; } .placeholder { @@ -52,4 +53,8 @@ input:-webkit-autofill { animation-name: autofill; animation-fill-mode: both; + box-shadow: 0 0 0px 1000px $color-password-toggle-bg inset; + -webkit-text-fill-color: $color-password-toggle-text; + transition-property: none; + border-radius: 0px; } -- 2.39.5