From acf5076ece786b7b1a36cee12f930e103f6a63f9 Mon Sep 17 00:00:00 2001 From: Vince Picone Date: Thu, 5 Mar 2020 17:04:08 -0600 Subject: [PATCH] fix: inline code font size (#753) * fix: inline code font size * fix: table code size * Update packages/gatsby-theme-carbon/src/components/Code/Code.module.scss * fix: font size Co-authored-by: Vince Picone Co-authored-by: Scott Strubberg --- .../src/components/Code/Code.module.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/gatsby-theme-carbon/src/components/Code/Code.module.scss b/packages/gatsby-theme-carbon/src/components/Code/Code.module.scss index 575b581b1..4e9fcf623 100644 --- a/packages/gatsby-theme-carbon/src/components/Code/Code.module.scss +++ b/packages/gatsby-theme-carbon/src/components/Code/Code.module.scss @@ -11,13 +11,17 @@ position: relative; display: inline; padding: 0 0.5em; - font-size: 0.75em; + font-size: 0.875rem; bottom: 0.0625em; border-radius: 4px; background-color: $ui-03; color: $text-01; } + td > code { + font-size: 0.75rem; + } + // Add's additional length for scrolling under sidebar .token:last-of-type { margin-right: 64px;