Skip to content

Commit e329973

Browse files
authored
Bug fix: Removing complex padding calc on kbd (#2651)
* Removing complex padding calc on kbd * Create nice-cats-guess.md
1 parent 38ed48e commit e329973

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/nice-cats-guess.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/css": patch
3+
---
4+
5+
Bug fix: Removing complex padding calc on kbd

src/base/kbd.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
kbd {
55
display: inline-block;
6-
padding: calc(var(--base-size-4) - 1) calc(var(--base-size-4) + 1);
6+
padding: var(--base-size-4);
77
font: 11px $mono-font;
88
// stylelint-disable-next-line primer/typography
99
line-height: 10px;

0 commit comments

Comments
 (0)