about summary refs log tree commit diff
path: root/components
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-04 15:08:52 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-04 15:08:52 +0100
commit2d8f09ae9dbedc127987e4629ae3db62191bb4dd (patch)
tree975c05539a35f11cc88b176b5c6d0c14352035cb /components
parentc003a40f545e0879c3d1ec74dadae233455f41a7 (diff)
downloadpuszcza-2d8f09ae9dbedc127987e4629ae3db62191bb4dd.tar.gz
puszcza-2d8f09ae9dbedc127987e4629ae3db62191bb4dd.zip
Add day countdown
Diffstat (limited to 'components')
-rw-r--r--components/Posts/PostList/PurePostList.vue9
1 files changed, 8 insertions, 1 deletions
diff --git a/components/Posts/PostList/PurePostList.vue b/components/Posts/PostList/PurePostList.vue
index ace069f..2fe98cb 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>
@@ -52,6 +52,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% {