Skip to content

Commit

Permalink
Remove incorrect user-select:none
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoAndai committed Jul 25, 2023
1 parent 87e0edd commit 5beda3e
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion packages/mui-joy/src/Link/Link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ const LinkRoot = styled('a', {
}),
},
}),
userSelect: 'none',
MozAppearance: 'none', // Reset
WebkitAppearance: 'none', // Reset
'&::-moz-focus-inner': {
Expand Down
1 change: 0 additions & 1 deletion packages/mui-material-next/src/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@ export const ButtonRoot = styled('button', {
border: 0,
margin: `var(--Button-margin, 0)`, // Remove the margin in Safari by default
cursor: 'pointer',
userSelect: 'none',
verticalAlign: 'middle',
MozAppearance: 'none', // Reset
WebkitAppearance: 'none', // Reset
Expand Down
1 change: 0 additions & 1 deletion packages/mui-material/src/ButtonBase/ButtonBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export const ButtonBaseRoot = styled('button', {
borderRadius: 0,
padding: 0, // Remove the padding in Firefox
cursor: 'pointer',
userSelect: 'none',
verticalAlign: 'middle',
MozAppearance: 'none', // Reset
WebkitAppearance: 'none', // Reset
Expand Down
1 change: 0 additions & 1 deletion packages/mui-material/src/Chip/Chip.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ const ChipRoot = styled('div', {
},
({ theme, ownerState }) => ({
...(ownerState.clickable && {
userSelect: 'none',
WebkitTapHighlightColor: 'transparent',
cursor: 'pointer',
'&:hover': {
Expand Down
1 change: 0 additions & 1 deletion packages/mui-material/src/Link/Link.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ const LinkRoot = styled(Typography, {
borderRadius: 0,
padding: 0, // Remove the padding in Firefox
cursor: 'pointer',
userSelect: 'none',
verticalAlign: 'middle',
MozAppearance: 'none', // Reset
WebkitAppearance: 'none', // Reset
Expand Down

0 comments on commit 5beda3e

Please sign in to comment.