Skip to content

Commit

Permalink
Merge 024cdb5 into 40cf2e8
Browse files Browse the repository at this point in the history
  • Loading branch information
danielguillan authored Jul 13, 2023
2 parents 40cf2e8 + 024cdb5 commit c0ab3cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .changeset/plenty-bats-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@primer/react': patch
---

ActionList: Fixes the width of items for the full variant

<!-- Changed components: ActionList -->
2 changes: 1 addition & 1 deletion src/ActionList/Item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const Item = React.forwardRef<HTMLLIElement, ActionListItemProps>(
appearance: 'none',
background: 'unset',
border: 'unset',
width: 'calc(100% - 16px)',
width: listVariant === 'inset' ? 'calc(100% - 16px)' : '100%',
fontFamily: 'unset',
textAlign: 'unset',
marginY: 'unset',
Expand Down

0 comments on commit c0ab3cf

Please sign in to comment.