Skip to content

Commit

Permalink
Bug fix: Removing complex padding calc on kbd (#2651)
Browse files Browse the repository at this point in the history
* Removing complex padding calc on kbd

* Create nice-cats-guess.md
  • Loading branch information
jonrohan committed Jun 25, 2024
1 parent 38ed48e commit e329973
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/nice-cats-guess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": patch
---

Bug fix: Removing complex padding calc on kbd
2 changes: 1 addition & 1 deletion src/base/kbd.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e329973

Please sign in to comment.