Skip to content

Commit

Permalink
chore(visual picker): reduce space between input and content (#3743)
Browse files Browse the repository at this point in the history
* chore: change left padding on content

* chore: add changeset

* chore: add visual-picker into changeset

* fix: delete extra changeset

---------

Co-authored-by: Simon Taggart <me@simontaggart.com>
  • Loading branch information
serifluous and SiTaggart committed Jan 30, 2024
1 parent 9e3cd8f commit 048c3cf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .changeset/loud-eagles-fry.md
@@ -0,0 +1,6 @@
---
"@twilio-paste/visual-picker": patch
"@twilio-paste/core": patch
---

Reduced left padding on Visual Picker content
Expand Up @@ -127,7 +127,7 @@ export const VisualPickerCheckbox = React.forwardRef<HTMLInputElement, VisualPic
</BaseRadioCheckboxControl>
</BaseRadioCheckboxLabel>

<Box element={`${element}_CONTENT`} id={helpTextId} paddingLeft="space50" width="100%">
<Box element={`${element}_CONTENT`} id={helpTextId} paddingLeft="space40" width="100%">
{children}
</Box>
</Box>
Expand Down
Expand Up @@ -146,7 +146,7 @@ export const VisualPickerRadio = React.forwardRef<HTMLInputElement, VisualPicker
</Box>
</BaseRadioCheckboxControl>
</BaseRadioCheckboxLabel>
<Box element={`${element}_CONTENT`} id={helpTextId} paddingLeft="space50" width="100%">
<Box element={`${element}_CONTENT`} id={helpTextId} paddingLeft="space40" width="100%">
{children}
</Box>
</Box>
Expand Down

0 comments on commit 048c3cf

Please sign in to comment.