From a1607ef6fa008e10942cbbd51696878400aa0736 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Fri, 28 Aug 2020 10:31:44 +0100 Subject: [PATCH] Fix font-size when Chrome autofills inputs For some reason Chrome decides that using its own font declaration is preferable to keeping the input looking as it would without autofill. This overrides that with our bigger, better font. --- app/assets/stylesheets/app.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/assets/stylesheets/app.scss b/app/assets/stylesheets/app.scss index ff4582e89..bd3de737b 100644 --- a/app/assets/stylesheets/app.scss +++ b/app/assets/stylesheets/app.scss @@ -253,3 +253,7 @@ details .arrow { } } + +input:-webkit-autofill::first-line { + @include core-19; +}