Skip to content

Commit

Permalink
ActionList item should have border-radius on hover with full vari…
Browse files Browse the repository at this point in the history
…ant (#3556)

* border radius

* Create shaggy-insects-march.md

---------

Co-authored-by: Josep Martins <josepmartins@github.com>
  • Loading branch information
langermank and Josep Martins committed Aug 3, 2023
1 parent d3146ce commit ce628a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/shaggy-insects-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": major
---

Ensure ActionList item has `border-radius` on hover with `full` variant
2 changes: 1 addition & 1 deletion src/ActionList/Item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const Item = React.forwardRef<HTMLLIElement, ActionListItemProps>(
lineHeight: TEXT_ROW_HEIGHT,
minHeight: 5,
marginX: listVariant === 'inset' ? 2 : 0,
borderRadius: listVariant === 'inset' ? 2 : 0,
borderRadius: 2,
transition: 'background 33.333ms linear',
color: getVariantStyles(variant, disabled).color,
cursor: 'pointer',
Expand Down

0 comments on commit ce628a9

Please sign in to comment.