From afc5fb71de524ee4623ef8667f15298f51f194a1 Mon Sep 17 00:00:00 2001 From: REJack Date: Thu, 26 Aug 2021 22:01:35 +0200 Subject: [PATCH] fix autofill bug in chrome --- build/scss/_forms.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/build/scss/_forms.scss b/build/scss/_forms.scss index f250cf72a..cd795740b 100644 --- a/build/scss/_forms.scss +++ b/build/scss/_forms.scss @@ -398,6 +398,18 @@ body.text-sm { color: $white; } + input:-webkit-autofill, + input:-webkit-autofill:hover, + input:-webkit-autofill:focus, + textarea:-webkit-autofill, + textarea:-webkit-autofill:hover, + textarea:-webkit-autofill:focus, + select:-webkit-autofill, + select:-webkit-autofill:hover, + select:-webkit-autofill:focus { + -webkit-text-fill-color: $white; + } + .custom-range { &::-webkit-slider-runnable-track { background-color: lighten($dark, 7.5%);