Skip to content

Commit

Permalink
Merge 093b726 into c090174
Browse files Browse the repository at this point in the history
  • Loading branch information
langermank authored Mar 19, 2024
2 parents c090174 + 093b726 commit 01e3b07
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/wicked-rings-lay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Bug fix: make `active` label bold in ActionList
2 changes: 1 addition & 1 deletion packages/react/src/ActionList/Item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ export const Item = React.forwardRef<HTMLLIElement, ActionListItemProps>(
id={labelId}
sx={{
flexGrow: slots.inlineDescription ? 0 : 1,
fontWeight: slots.inlineDescription || slots.blockDescription ? 'bold' : 'normal',
fontWeight: slots.inlineDescription || slots.blockDescription || active ? 'bold' : 'normal',
marginBlockEnd: slots.blockDescription ? '4px' : undefined,
}}
>
Expand Down

0 comments on commit 01e3b07

Please sign in to comment.