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

Commit 9f9111a

Browse files
feature(app-blog-featured): update frontend for home view
1 parent eb1484e commit 9f9111a

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@
1818
img {
1919
@include media-breakpoint-up(sm) {
2020
border-radius: 15px;
21+
height: 100%;
22+
margin-top: 2rem;
2123
object-fit: cover;
2224
width: 100%;
23-
height: 100%;
2425
}
2526
}
2627
}
@@ -31,6 +32,10 @@
3132
&:hover {
3233
text-decoration: underline black;
3334
}
35+
36+
@include media-breakpoint-down(sm) {
37+
margin-top: 2rem;
38+
}
3439
}
3540

3641
h4 {
@@ -45,7 +50,7 @@
4550
}
4651

4752
p {
48-
margin-bottom: 25px;
53+
margin: 25px 0;
4954
font-size: 12px;
5055
}
5156

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class AppBlogFeatured {
2727
</div>
2828
</div>
2929
<div class="info col-md-6 order-md-1">
30-
<h4>Featured Post</h4>
30+
<h4>What's New in Our Blog</h4>
3131
<stencil-route-link url={`/blog/${this.blogPost.slug}`}>
3232
<h2>{this.blogPost.title}</h2>
3333
</stencil-route-link>

0 commit comments

Comments
 (0)