File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 5
5
- Add support for sharing pages on new social network: VK (#657 )
6
6
- Use Open Graph type 'article' for blog posts (#669 )
7
7
- Use Twitter's ` summary_large_image ` card when ` share-img ` is specified (#668 )
8
+ - Make post images in the feed page smaller on smaller devices
8
9
9
10
## v3.0.0 2020-05-07
10
11
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ layout: post
3
3
title : Flake it till you make it
4
4
subtitle : Excerpt from Soulshaping by Jeff Brown
5
5
cover-img : /assets/img/path.jpg
6
+ image : /assets/img/path.jpg
6
7
share-img : /assets/img/path.jpg
7
8
tags : [books, test]
8
9
---
Original file line number Diff line number Diff line change @@ -484,6 +484,7 @@ footer .footer-custom-content {
484
484
}
485
485
.post-image {
486
486
float : right;
487
+ margin-left : 0.625rem ;
487
488
height : 12rem ;
488
489
width : 12rem ;
489
490
margin-top : -2.1875rem ;
@@ -539,6 +540,14 @@ footer .footer-custom-content {
539
540
}
540
541
}
541
542
543
+ @media (max-width : 767px ) {
544
+ .post-image , .post-image img {
545
+ margin-top : 0 ;
546
+ height : 9rem ;
547
+ width : 9rem ;
548
+ }
549
+ }
550
+
542
551
@media (max-width : 500px ) {
543
552
.post-image , .post-image img {
544
553
height : 6.25rem ;
@@ -549,7 +558,8 @@ footer .footer-custom-content {
549
558
width : 100% ;
550
559
text-align : center;
551
560
margin-top : 0 ;
552
- float : left;
561
+ margin-left : 0 ;
562
+ float : none;
553
563
}
554
564
}
555
565
/* --- Post and page headers --- */
You can’t perform that action at this time.
0 commit comments