diff --git a/.changeset/nice-cats-guess.md b/.changeset/nice-cats-guess.md new file mode 100644 index 0000000000..1002a91c5f --- /dev/null +++ b/.changeset/nice-cats-guess.md @@ -0,0 +1,5 @@ +--- +"@primer/css": patch +--- + +Bug fix: Removing complex padding calc on kbd diff --git a/src/base/kbd.scss b/src/base/kbd.scss index 3db5d5dff4..0e435955cc 100644 --- a/src/base/kbd.scss +++ b/src/base/kbd.scss @@ -3,7 +3,7 @@ kbd { display: inline-block; - padding: calc(var(--base-size-4) - 1) calc(var(--base-size-4) + 1); + padding: var(--base-size-4); font: 11px $mono-font; // stylelint-disable-next-line primer/typography line-height: 10px;