Skip to content

Commit

Permalink
Merge branch 'main' into fix/icon-button-styles
Browse files Browse the repository at this point in the history
  • Loading branch information
madhurisandbhor authored Jul 22, 2024
2 parents cb491b8 + 6972656 commit 4caf24c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/chatty-jokes-grow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@strapi/design-system': patch
---

fix aria-disabled css rule on menu item
2 changes: 1 addition & 1 deletion packages/design-system/src/components/SimpleMenu/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ const getOptionStyle = ({ theme }: { theme: DefaultTheme }) => css`
border-radius: ${theme.borderRadius};
padding: ${theme.spaces[2]} ${theme.spaces[4]};
&[aria-disabled] {
&[aria-disabled='true'] {
cursor: not-allowed;
color: ${theme.colors.neutral500};
}
Expand Down

0 comments on commit 4caf24c

Please sign in to comment.