From 032008d7d204df5cf926513eb952bbc3b681f104 Mon Sep 17 00:00:00 2001 From: Becky Siegel Date: Wed, 6 Sep 2017 10:14:12 -0700 Subject: [PATCH] Add font: inherit to input, textarea, select, button The user agent stylesheet applied a default font to certain elements (particulary input in the serach bar), causing Roboto to not be used in certain situations. Fix by adding font-family: inherit for those cases as well. Change-Id: Ife69abf9260d330a2a186a3e6f651fa5a2398683 --- polygerrit-ui/app/styles/shared-styles.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/polygerrit-ui/app/styles/shared-styles.html b/polygerrit-ui/app/styles/shared-styles.html index cc1dabd165..97252519dd 100644 --- a/polygerrit-ui/app/styles/shared-styles.html +++ b/polygerrit-ui/app/styles/shared-styles.html @@ -38,6 +38,12 @@ limitations under the License. margin: 0; padding: 0; } + input, + textarea, + select, + button { + font: inherit; + } body { line-height: 1; }