Skip to content

Commit

Permalink
[docs-infra] Remove overflow: hidden for demo gradient bg (#39225)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Oct 8, 2023
1 parent 29cd47a commit b332350
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/src/modules/components/Demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ const DemoRootMaterial = styled('div', {
shouldForwardProp: (prop) => prop !== 'hideToolbar' && prop !== 'bg',
})(({ theme, hideToolbar, bg }) => ({
position: 'relative',
outline: 0,
margin: 'auto',
display: 'flex',
justifyContent: 'center',
Expand Down Expand Up @@ -241,7 +240,7 @@ const DemoRootMaterial = styled('div', {
padding: theme.spacing(20, 8),
border: `1px solid`,
borderColor: (theme.vars || theme).palette.divider,
overflow: 'hidden',
overflow: 'auto',
backgroundColor: alpha(theme.palette.primary[50], 0.5),
backgroundClip: 'padding-box',
backgroundImage: `radial-gradient(at 51% 52%, ${alpha(
Expand Down Expand Up @@ -276,7 +275,6 @@ const DemoRootJoy = joyStyled('div', {
shouldForwardProp: (prop) => prop !== 'hideToolbar' && prop !== 'bg',
})(({ theme, hideToolbar, bg }) => ({
position: 'relative',
outline: 0,
margin: 'auto',
display: 'flex',
justifyContent: 'center',
Expand Down

0 comments on commit b332350

Please sign in to comment.