Skip to content

Commit

Permalink
[docs] Fix code copy button obscuring on small screen sizes (#44861)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeeshanTamboli authored Jan 8, 2025
1 parent 6c57166 commit 485f81c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/mui-docs/src/MarkdownElement/MarkdownElement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,9 @@ const Root = styled('div')(
transition: theme.transitions.create(['background', 'borderColor', 'display'], {
duration: theme.transitions.duration.shortest,
}),
'@media (max-width: 640px)': {
display: 'none',
},
'& .MuiCode-copied-label': {
display: 'none',
},
Expand Down

0 comments on commit 485f81c

Please sign in to comment.