Update content styles

This commit is contained in:
Hazem Krimi
2021-09-19 19:37:23 +01:00
parent a5057f3dbe
commit 90d3e83536
2 changed files with 11 additions and 1 deletions
+6 -1
View File
@@ -85,6 +85,11 @@ const Wrapper = styled.div`
width: 100%;
height: auto;
}
ul,
ol {
margin-left: 1.5rem;
}
}
`;
@@ -144,7 +149,7 @@ const PortfolioProject: FC<Props> = ({ source, frontMatter }) => {
))}
</div>
) : null}
{frontMatter.image ? (
{frontMatter.image && !frontMatter.hideImage ? (
<div className='image'>
<Image src={frontMatter.image} width='100%' height='100%' layout='responsive' />
</div>