File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ const Card = ({ frontmatter, fields }) => {
1313 return (
1414 < CardWrapper fixed = { ! ! frontmatter . abstract } >
1515 < div className = "post-block" >
16- < div className = "post-thumb-block" style = { { aspectRatio : "16/9" , minHeight : "200px" } } >
16+ < div className = "post-thumb-block" >
1717 < Image
1818 { ...( ( isDark && frontmatter . darkthumbnail && frontmatter . darkthumbnail . publicURL !== frontmatter . thumbnail . publicURL )
1919 ? frontmatter . darkthumbnail : frontmatter . thumbnail ) }
20- imgStyle = { { objectFit : "cover " } }
20+ imgStyle = { { objectFit : "contain " } }
2121 alt = { frontmatter . title }
2222 />
2323 </ div >
Original file line number Diff line number Diff line change @@ -31,13 +31,13 @@ const RelatedPosts = props => {
3131 {
3232 postType === "blogs" ? relatedPosts . map ( ( { post } ) => {
3333 return (
34- < Col className = "cardCol" $xs = { 12 } key = { post . fields . slug } style = { { minHeight : "320px" } } >
34+ < Col className = "cardCol" $xs = { 12 } key = { post . fields . slug } >
3535 < Card frontmatter = { post . frontmatter } fields = { post . fields } />
3636 </ Col >
3737 ) ;
3838 } ) : relatedPosts . map ( ( post ) => {
3939 return (
40- < Col className = "cardCol" $xs = { 12 } key = { post . fields . slug } style = { { minHeight : "320px" } } >
40+ < Col className = "cardCol" $xs = { 12 } key = { post . fields . slug } >
4141 < Card frontmatter = { post . frontmatter } fields = { post . fields } />
4242 </ Col >
4343 ) ;
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ const Banner1SectionWrapper = styled.section`
5151
5252 /* Loading placeholder */
5353 &::before {
54- content: "Loading video... ";
54+ content: "";
5555 position: absolute;
5656 top: 50%;
5757 left: 50%;
You can’t perform that action at this time.
0 commit comments