From 966de4ee0f1cfcd5f5a9f75560460adaafd47f06 Mon Sep 17 00:00:00 2001 From: simurai Date: Fri, 27 Aug 2021 02:50:11 +0900 Subject: [PATCH] Fix `code` in MD headers (#1552) * Fix code in headers * Create silver-shrimps-agree.md --- .changeset/silver-shrimps-agree.md | 5 +++++ src/markdown/headings.scss | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 .changeset/silver-shrimps-agree.md diff --git a/.changeset/silver-shrimps-agree.md b/.changeset/silver-shrimps-agree.md new file mode 100644 index 0000000000..0f10b44fee --- /dev/null +++ b/.changeset/silver-shrimps-agree.md @@ -0,0 +1,5 @@ +--- +"@primer/css": patch +--- + +Fix `code` in headers diff --git a/src/markdown/headings.scss b/src/markdown/headings.scss index 3cd86e9801..8b4c7ae0f0 100644 --- a/src/markdown/headings.scss +++ b/src/markdown/headings.scss @@ -30,6 +30,8 @@ tt, code { + // stylelint-disable-next-line primer/spacing + padding: 0 0.2em; font-size: inherit; } }