Skip to content

Commit

Permalink
[utils] Fix visually hidden styles' margin unit (#41477)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaldudak authored Mar 13, 2024
1 parent eda9f79 commit ded9a41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/mui-base/src/useSelect/useSelect.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe('useSelect', () => {
border: 0,
clip: 'rect(0 0 0 0)',
height: '1px',
margin: -1,
margin: '-1px',
overflow: 'hidden',
padding: 0,
position: 'absolute',
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-utils/src/visuallyHidden/visuallyHidden.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const visuallyHidden: import('react').CSSProperties = {
border: 0,
clip: 'rect(0 0 0 0)',
height: '1px',
margin: -1,
margin: '-1px',
overflow: 'hidden',
padding: 0,
position: 'absolute',
Expand Down

0 comments on commit ded9a41

Please sign in to comment.