Skip to content

Commit

Permalink
[test] Remove position:relative from regression container (#43743)
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongarciah authored Sep 13, 2024
1 parent 40c7199 commit bede032
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/data/material/components/slider/MusicPlayerSlider.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default function MusicPlayerSlider() {
return `${minute}:${secondLeft < 10 ? `0${secondLeft}` : secondLeft}`;
}
return (
<Box sx={{ width: '100%', overflow: 'hidden' }}>
<Box sx={{ width: '100%', overflow: 'hidden', position: 'relative', p: 3 }}>
<Widget>
<Box sx={{ display: 'flex', alignItems: 'center' }}>
<CoverImage>
Expand Down
2 changes: 1 addition & 1 deletion docs/data/material/components/slider/MusicPlayerSlider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default function MusicPlayerSlider() {
return `${minute}:${secondLeft < 10 ? `0${secondLeft}` : secondLeft}`;
}
return (
<Box sx={{ width: '100%', overflow: 'hidden' }}>
<Box sx={{ width: '100%', overflow: 'hidden', position: 'relative', p: 3 }}>
<Widget>
<Box sx={{ display: 'flex', alignItems: 'center' }}>
<CoverImage>
Expand Down
1 change: 0 additions & 1 deletion test/regressions/TestViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ function TestViewer(props) {
const viewerBoxSx = {
display: 'block',
p: 1,
position: 'relative',
};

return (
Expand Down

0 comments on commit bede032

Please sign in to comment.