mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2024-11-12 19:38:04 +00:00
Fix recent posts alignment
This commit is contained in:
parent
08b3054ada
commit
0e78d9ed40
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1522,6 +1522,10 @@ iframe.instagram-media + script + :not([id]) {
|
|||||||
grid-gap: 4vmin;
|
grid-gap: 4vmin;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.read-more .post-card-tags {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 1000px) {
|
@media (max-width: 1000px) {
|
||||||
.read-more {
|
.read-more {
|
||||||
grid-template-columns: repeat(4, 1fr);
|
grid-template-columns: repeat(4, 1fr);
|
||||||
|
2
post.hbs
2
post.hbs
@ -122,7 +122,7 @@ into the {body} tag of the default.hbs template --}}
|
|||||||
|
|
||||||
This query gets the latest 3 posts on the site, but adds a filter to
|
This query gets the latest 3 posts on the site, but adds a filter to
|
||||||
exclude the post we're currently on from being included. --}}
|
exclude the post we're currently on from being included. --}}
|
||||||
{{#get "posts" filter="id:-{{id}}" include="authors" limit="3" as |more_posts|}}
|
{{#get "posts" filter="id:-{{id}}" limit="3" as |more_posts|}}
|
||||||
|
|
||||||
{{#if more_posts}}
|
{{#if more_posts}}
|
||||||
<aside class="read-more-wrap outer">
|
<aside class="read-more-wrap outer">
|
||||||
|
Loading…
Reference in New Issue
Block a user