docs: fix rendering of some images on build (#3832)

This commit is contained in:
Shahed Nasser
2023-04-13 22:21:03 +03:00
committed by GitHub
parent b9e0af5470
commit 1da7491faa
3 changed files with 1 additions and 19 deletions
@@ -73,8 +73,6 @@ export default function CloudinaryImage ({ src, ...props }) {
} }
return ( return (
<p className="cloudinary-image-wrapper"> <MDXImg {...props} src={image.toURL()} />
<MDXImg {...props} src={image.toURL()} />
</p>
) )
} }
-8
View File
@@ -200,14 +200,6 @@ details > div {
padding-right: 0 !important; padding-right: 0 !important;
} }
.cloudinary-image-wrapper {
display: inline-flex;
justify-content: center;
align-items: center;
width: 100%;
margin-bottom: 0;
}
@media screen and (min-width: 1419px) { @media screen and (min-width: 1419px) {
.main-wrapper { .main-wrapper {
min-width: var(--ifm-max-content-width); min-width: var(--ifm-max-content-width);
-8
View File
@@ -86,14 +86,6 @@ video {
margin-bottom: 0; margin-bottom: 0;
} }
.markdown p + p > img:not(.ui-icon) {
margin-top: var(--ifm-base-margin-vertical);
}
p + img:not(.ui-icon) {
margin-bottom: calc(var(--ifm-base-margin-vertical) * 2);
}
h1 + .cards-grid, h1 + .cards-grid,
h1 + .card-wrapper, h1 + .card-wrapper,
h2 + .cards-grid, h2 + .cards-grid,