about summary refs log tree commit diff
path: root/components
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-25 20:16:01 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-25 20:16:01 +0100
commit03b8bea02076f8eceddded0a096026125e5e7ca1 (patch)
tree07cba29bda34d4330e5e33f42fff7e277f027b49 /components
parent0df2c534d8615fd55994e9d27d9c2b81d4e87c20 (diff)
downloadpuszcza-03b8bea02076f8eceddded0a096026125e5e7ca1.tar.gz
puszcza-03b8bea02076f8eceddded0a096026125e5e7ca1.zip
Fix empty images
Diffstat (limited to 'components')
-rw-r--r--components/GoogleDriveLink.vue10
-rw-r--r--components/Posts/PostLink.vue1
2 files changed, 6 insertions, 5 deletions
diff --git a/components/GoogleDriveLink.vue b/components/GoogleDriveLink.vue
index c54c630..ada6eff 100644
--- a/components/GoogleDriveLink.vue
+++ b/components/GoogleDriveLink.vue
@@ -6,7 +6,7 @@
     <div class="text">
       <p v-html="text"></p>
     </div>
-    <a :href="link">
+    <a :href="link" target="_blank" rel="noopener">
       <plain-button text="Przejdź" />
     </a>
   </div>
@@ -21,13 +21,13 @@ export default {
   props: {
     text: {
       type: String,
-      required: true
+      required: true,
     },
     link: {
       type: String,
-      required: true
-    }
-  }
+      required: true,
+    },
+  },
 }
 </script>
 
diff --git a/components/Posts/PostLink.vue b/components/Posts/PostLink.vue
index 5f7d5bf..3f80bae 100644
--- a/components/Posts/PostLink.vue
+++ b/components/Posts/PostLink.vue
@@ -86,5 +86,6 @@ export default {
   background-repeat: no-repeat;
   background-size: cover;
   background-position: center;
+  box-shadow: inset 0px 0px 100px rgba(0, 0, 0, 0.25);
 }
 </style>