Skip to content
This repository was archived by the owner on Feb 5, 2022. It is now read-only.

Commit d33bf3d

Browse files
fix(app-blog-featured): add conditional to show/hide placement of what's new statement
1 parent 492f121 commit d33bf3d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/components/app-blog-featured/app-blog-featured.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,19 @@ export class AppBlogFeatured {
1919
<div class="blog-featured">
2020
<div class="container">
2121
<div class="row">
22-
<div class="col-md-6 order-md-2 featured-image">
22+
<div class="col-md-6 order-md-2 flex-column featured-image">
23+
<div class="d-block d-sm-block d-md-none">
24+
<h4>What's New in Our Blog</h4>
25+
</div>
2326
<stencil-route-link url={`/blog/${this.blogPost.slug}`}>
2427
<img src={this.blogPost.featured_image} />
2528
</stencil-route-link>
2629
</div>
2730
<div class="col-md-6 order-md-1">
2831
<div class="featured-title">
29-
<h4>What's New in Our Blog</h4>
32+
<div class="d-none d-md-block">
33+
<h4>What's New in Our Blog</h4>
34+
</div>
3035
<stencil-route-link url={`/blog/${this.blogPost.slug}`}>
3136
<h2>{this.blogPost.title}</h2>
3237
</stencil-route-link>

0 commit comments

Comments
 (0)