From d533b17635c4155b5e88913fb94fae670f6fe06f Mon Sep 17 00:00:00 2001 From: Alison Joseph Date: Tue, 3 Mar 2020 15:38:01 -0600 Subject: [PATCH 1/4] fix: inline code font size --- .../gatsby-theme-carbon/src/components/Code/Code.module.scss | 2 +- 1 file changed, 1 insertion(+), 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 6a8d7bef4..b043dd3ba 100644 --- a/packages/gatsby-theme-carbon/src/components/Code/Code.module.scss +++ b/packages/gatsby-theme-carbon/src/components/Code/Code.module.scss @@ -11,7 +11,7 @@ position: relative; display: inline; padding: 0 0.5em; - font-size: 0.75em; + font-size: 0.875em; bottom: 0.0625em; border-radius: 4px; background-color: $ui-03; From 299c6ec5ba81c1b2d9e269414e972ec5e66b99aa Mon Sep 17 00:00:00 2001 From: Alison Joseph Date: Tue, 3 Mar 2020 15:41:41 -0600 Subject: [PATCH 2/4] fix: table code size --- .../gatsby-theme-carbon/src/components/Code/Code.module.scss | 4 ++++ 1 file changed, 4 insertions(+) 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 b043dd3ba..6bfb2e40e 100644 --- a/packages/gatsby-theme-carbon/src/components/Code/Code.module.scss +++ b/packages/gatsby-theme-carbon/src/components/Code/Code.module.scss @@ -18,6 +18,10 @@ color: $text-01; } + td > code { + font-size: 12px; + } + // Add's additional length for scrolling under sidebar .token:last-of-type { margin-right: 64px; From 1645b02b7820a5d10338a01fc66656e1f1dd1afe Mon Sep 17 00:00:00 2001 From: Vince Picone Date: Wed, 4 Mar 2020 21:35:38 -0600 Subject: [PATCH 3/4] Update packages/gatsby-theme-carbon/src/components/Code/Code.module.scss --- .../gatsby-theme-carbon/src/components/Code/Code.module.scss | 2 +- 1 file changed, 1 insertion(+), 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 6bfb2e40e..4ae98a7df 100644 --- a/packages/gatsby-theme-carbon/src/components/Code/Code.module.scss +++ b/packages/gatsby-theme-carbon/src/components/Code/Code.module.scss @@ -11,7 +11,7 @@ position: relative; display: inline; padding: 0 0.5em; - font-size: 0.875em; + font-size: 0.75rem; bottom: 0.0625em; border-radius: 4px; background-color: $ui-03; From bcfba0029713e825ee862befe0910801aa1badaa Mon Sep 17 00:00:00 2001 From: Alison Joseph Date: Thu, 5 Mar 2020 09:02:50 -0600 Subject: [PATCH 4/4] fix: font size --- .../gatsby-theme-carbon/src/components/Code/Code.module.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 4ae98a7df..999f81aa2 100644 --- a/packages/gatsby-theme-carbon/src/components/Code/Code.module.scss +++ b/packages/gatsby-theme-carbon/src/components/Code/Code.module.scss @@ -11,7 +11,7 @@ position: relative; display: inline; padding: 0 0.5em; - font-size: 0.75rem; + font-size: 0.875rem; bottom: 0.0625em; border-radius: 4px; background-color: $ui-03; @@ -19,7 +19,7 @@ } td > code { - font-size: 12px; + font-size: 0.75rem; } // Add's additional length for scrolling under sidebar