mirror of
https://github.com/acid-info/logos-press-engine.git
synced 2025-02-23 14:48:08 +00:00
update post responsive css
This commit is contained in:
parent
9d7a94305e
commit
896ba7c1da
@ -112,6 +112,7 @@ export default function Post({
|
||||
<CustomTypography
|
||||
variant={size === PostSize.SMALL ? 'h4' : 'h1'}
|
||||
genericFontFamily="serif"
|
||||
component="h2"
|
||||
>
|
||||
{title}
|
||||
</CustomTypography>
|
||||
@ -237,9 +238,13 @@ const TitleLink = styled(Link)`
|
||||
`
|
||||
|
||||
const HeaderContainer = styled(CustomTypography)<{ isFeatured: boolean }>`
|
||||
margin-right: ${({ isFeatured }) => (isFeatured ? '178px' : '0px')};
|
||||
@media (min-width: 768px) {
|
||||
margin-right: ${({ isFeatured }) => (isFeatured ? '178px' : '0px')};
|
||||
}
|
||||
`
|
||||
|
||||
const Description = styled(CustomTypography)<{ isFeatured: boolean }>`
|
||||
margin-right: ${({ isFeatured }) => (isFeatured ? '178px' : '0px')};
|
||||
@media (min-width: 768px) {
|
||||
margin-right: ${({ isFeatured }) => (isFeatured ? '178px' : '0px')};
|
||||
}
|
||||
`
|
||||
|
Loading…
x
Reference in New Issue
Block a user