Skip to content

Commit 32c6870

Browse files
Update Banner.tsx (#4598)
* Update Banner.tsx Remove the use of --space tokens * added changeset
1 parent ed701be commit 32c6870

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/slimy-pandas-turn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@primer/react': patch
3+
---
4+
5+
Replaced space-small with base-size-6

packages/react/src/Banner/Banner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ const StyledBanner = styled.div`
264264
}
265265
266266
&[data-title-hidden=''] .BannerContent {
267-
margin-block: var(--space-small, 0.375rem);
267+
margin-block: var(--base-size-6, 0.375rem);
268268
}
269269
270270
@media screen and (min-width: 544px) {

0 commit comments

Comments
 (0)