diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-01-27 17:42:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-27 17:42:53 +0100 |
commit | 3c2ac6715dfffc2eda38e014ed0b4986ccc7f75a (patch) | |
tree | 6fe224aac15e46ed4f527b12b86fdac7ab376b29 /components/Posts/PostList | |
parent | 5305c18b05803bf0d032027e645c71ac59627621 (diff) | |
parent | 6582d35072ee2bb81e0600311292aca63a1fd0eb (diff) | |
download | puszcza-3c2ac6715dfffc2eda38e014ed0b4986ccc7f75a.tar.gz puszcza-3c2ac6715dfffc2eda38e014ed0b4986ccc7f75a.zip |
Merge pull request #24 from 19pdh/oboz
Oboz
Diffstat (limited to 'components/Posts/PostList')
-rw-r--r-- | components/Posts/PostList/PurePostList.vue | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/components/Posts/PostList/PurePostList.vue b/components/Posts/PostList/PurePostList.vue index c87b9dc..210973e 100644 --- a/components/Posts/PostList/PurePostList.vue +++ b/components/Posts/PostList/PurePostList.vue @@ -1,6 +1,6 @@ <template> <div class="post-list"> - <div v-if="loading" class="post-list-container"> + <div v-if="loading" class="post-list-container loading"> <div class="loading-post" v-for="(_, index) in 4" :key="index"></div> </div> <div v-else-if="!posts" class="no-posts">Brak wpisów</div> @@ -53,6 +53,13 @@ export default { justify-content: center; } +@media (max-width: 920px) { + .post-list-container.loading div:nth-child(1), + .post-list-container.loading div:nth-child(2) { + display: none; + } +} + @keyframes loading { 0%, 100% { |