fix: search results without a image should be full-width; refs #180
This commit is contained in:
parent
72e007b674
commit
f7a39ed5fc
|
@ -124,6 +124,7 @@ export const PostCard = (_props: PostCardProps) => {
|
|||
className={clsx(
|
||||
'post-card',
|
||||
applySizeStyles && applySizeStyles && `post-card--${size}`,
|
||||
coverImageElement && 'post-card--with-image',
|
||||
props.className,
|
||||
`post-card__${contentType}`,
|
||||
)}
|
||||
|
@ -467,6 +468,14 @@ PostCard.styles = {
|
|||
}
|
||||
}
|
||||
|
||||
&:not(.post-card--with-image) {
|
||||
grid-template-areas:
|
||||
'info info info info info info info info'
|
||||
'info info info info info info info info'
|
||||
'info info info info info info info info'
|
||||
'info info info info info info info info' !important;
|
||||
}
|
||||
|
||||
${lsdUtils.breakpoint(theme, 'sm', 'down')} {
|
||||
&.post-card__article {
|
||||
.post-card__subtitle {
|
||||
|
|
Loading…
Reference in New Issue