From 92f257efa7711f32e98fb24a0d0df0a3c84a47b9 Mon Sep 17 00:00:00 2001 From: Spikatrix <12792882+Spikatrix@users.noreply.github.com> Date: Fri, 25 Aug 2023 09:18:19 +0000 Subject: [PATCH] Remove font size from global styles --- packages/grafana-ui/src/themes/GlobalStyles/elements.ts | 1 - public/sass/base/_reboot.scss | 2 -- 2 files changed, 3 deletions(-) diff --git a/packages/grafana-ui/src/themes/GlobalStyles/elements.ts b/packages/grafana-ui/src/themes/GlobalStyles/elements.ts index 9646fdd35931a..ffd9fab2966ae 100644 --- a/packages/grafana-ui/src/themes/GlobalStyles/elements.ts +++ b/packages/grafana-ui/src/themes/GlobalStyles/elements.ts @@ -10,7 +10,6 @@ export function getElementStyles(theme: GrafanaTheme2) { -ms-overflow-style: scrollbar; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); height: 100%; - font-size: ${theme.typography.htmlFontSize}px; font-family: ${theme.typography.fontFamily}; line-height: ${theme.typography.body.lineHeight}; font-kerning: normal; diff --git a/public/sass/base/_reboot.scss b/public/sass/base/_reboot.scss index 3831c28f6f740..32a1a895cf55c 100644 --- a/public/sass/base/_reboot.scss +++ b/public/sass/base/_reboot.scss @@ -64,14 +64,12 @@ html { // This is specified in runtime Emotion GlobalStyles but we need them for the Grafana loading styles html { - font-size: $font-size-base; height: 100%; } // This is specified in runtime Emotion GlobalStyles but we need them for the Grafana loading styles body { font-family: $font-family-sans-serif; - font-size: $font-size-base; line-height: $line-height-base; color: $text-color; background-color: $body-bg;