Fix recent posts alignment

This commit is contained in:
Sodbileg Gansukh 2022-05-26 17:41:59 +08:00
parent 08b3054ada
commit 0e78d9ed40
4 changed files with 7 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -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);

View file

@ -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">