This repository was archived by the owner on Feb 5, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +13
-15
lines changed
src/components/app-blog-featured Expand file tree Collapse file tree 2 files changed +13
-15
lines changed Original file line number Diff line number Diff line change 11.blog-featured {
22
33 .container {
4- padding : 2.5 rem ;
4+ min-width : 90 % ;
55 margin-bottom : 2rem ;
66
77 @include media-breakpoint-down (sm) {
2525 .featured-image {
2626 border-collapse : separate ;
2727 display : flex ;
28- height : 100 % ;
29- width : 100 % ;
28+ justify-content : center ;
29+ text-align : center ;
3030
3131 img {
32+ height : 75% ;
33+ width : 75% ;
34+
3235 @include media-breakpoint-up (sm) {
3336 border-radius : 15px ;
34- height : 100% ;
3537 margin-top : 2rem ;
3638 object-fit : cover ;
37- width : 100% ;
3839 }
3940 }
4041 }
Original file line number Diff line number Diff line change @@ -18,22 +18,19 @@ export class AppBlogFeatured {
1818 return (
1919 < div class = "blog-featured" >
2020 < div class = "container" >
21- < div class = "row" >
22- < div class = "col-12 featured-title" >
23- < h4 > What's New in Our Blog</ h4 >
24- < stencil-route-link url = { `/blog/${ this . blogPost . slug } ` } >
25- < h2 > { this . blogPost . title } </ h2 >
26- </ stencil-route-link >
27- </ div >
28- </ div >
29-
3021 < div class = "row" >
3122 < div class = "col-md-6 order-md-2 featured-image" >
3223 < stencil-route-link url = { `/blog/${ this . blogPost . slug } ` } >
3324 < img src = { this . blogPost . featured_image } />
3425 </ stencil-route-link >
3526 </ div >
36- < div class = "col-md-6 order-md-1 info " >
27+ < div class = "col-md-6 order-md-1" >
28+ < div class = "featured-title" >
29+ < h4 > What's New in Our Blog</ h4 >
30+ < stencil-route-link url = { `/blog/${ this . blogPost . slug } ` } >
31+ < h2 > { this . blogPost . title } </ h2 >
32+ </ stencil-route-link >
33+ </ div >
3734 < div class = "summary" > { this . blogPost . summary } </ div >
3835 < p class = "date" > { formatDate ( publishDate ) } </ p >
3936 < div class = "author" >
You can’t perform that action at this time.
0 commit comments