Skip to content

Commit

Permalink
fix: change css from LayoutEmbed.js instead of style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
rsmith-github committed Jul 25, 2022
1 parent 16d33b1 commit a4471f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 6 additions & 1 deletion src/components/LayoutEmbed.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,12 @@ export default function Layout({ children, isFloatingDisabled }) {
{/* eslint-disable-next-line @next/next/no-img-element */}
<img alt="zoom-in" src={zoomIn} />
</Box>
<Box onClick={handleZoomOut}>
<Box
onClick={handleZoomOut}
sx={{
'& img': { display: 'block' },
}}
>
{/* eslint-disable-next-line @next/next/no-img-element */}
<img alt="zoom-out" src={zoomOut} />
</Box>
Expand Down
4 changes: 0 additions & 4 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,3 @@ a:hover {
background-position: center;
background-size: cover;
}

.mui-1g16ym9 .mui-0 ~ .mui-0 img {
float: left;
}

0 comments on commit a4471f2

Please sign in to comment.