Skip to content

Commit

Permalink
[Card] Fix Card focus effect overflowing parent card (#36329)
Browse files Browse the repository at this point in the history
  • Loading branch information
mj12albert committed Apr 4, 2023
1 parent 17ca698 commit d24ac60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/mui-material/src/CardActionArea/CardActionArea.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const CardActionAreaRoot = styled(ButtonBase, {
})(({ theme }) => ({
display: 'block',
textAlign: 'inherit',
borderRadius: 'inherit', // for Safari to work https://github.com/mui/material-ui/issues/36285.
width: '100%',
[`&:hover .${cardActionAreaClasses.focusHighlight}`]: {
opacity: (theme.vars || theme).palette.action.hoverOpacity,
Expand Down

0 comments on commit d24ac60

Please sign in to comment.