Skip to content

Commit 168a8df

Browse files
authored
chore(Code Block): update space and size tokens in overflow button (#4184)
* chore(Code Block): update space and size tokens in overflow button * chore: changeset * chore: actually use base-size token
1 parent 9106527 commit 168a8df

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.changeset/fast-terms-fry.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@twilio-paste/code-block": patch
3+
"@twilio-paste/core": patch
4+
---
5+
6+
Updated spacing and sizing tokens for overflow button. No visible changes.

packages/paste-core/components/code-block/src/OverflowButton.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ export const OverflowButton: React.FC<OverflowButtonProps> = ({
4747
display="flex"
4848
alignItems="center"
4949
justifyContent="center"
50-
width="sizeIcon40"
51-
padding="space20"
50+
width="sizeBase60"
51+
padding="space10"
5252
position="relative"
5353
boxShadow={determineShadow()}
5454
element={`${element}_OVERFLOW_BUTTON_${position.toUpperCase()}`}

0 commit comments

Comments
 (0)