Skip to content

Commit

Permalink
Update Banner.tsx (#4598)
Browse files Browse the repository at this point in the history
* Update Banner.tsx

Remove the use of --space tokens

* added changeset
  • Loading branch information
lukasoppermann authored May 23, 2024
1 parent ed701be commit 32c6870
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/slimy-pandas-turn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': patch
---

Replaced space-small with base-size-6
2 changes: 1 addition & 1 deletion packages/react/src/Banner/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ const StyledBanner = styled.div`
}
&[data-title-hidden=''] .BannerContent {
margin-block: var(--space-small, 0.375rem);
margin-block: var(--base-size-6, 0.375rem);
}
@media screen and (min-width: 544px) {
Expand Down

0 comments on commit 32c6870

Please sign in to comment.