about summary refs log tree commit diff
path: root/pages/kronika/_year/_month
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 /pages/kronika/_year/_month
parent0df2c534d8615fd55994e9d27d9c2b81d4e87c20 (diff)
downloadpuszcza-03b8bea02076f8eceddded0a096026125e5e7ca1.tar.gz
puszcza-03b8bea02076f8eceddded0a096026125e5e7ca1.zip
Fix empty images
Diffstat (limited to 'pages/kronika/_year/_month')
-rw-r--r--pages/kronika/_year/_month/_day/_title/index.vue4
1 files changed, 3 insertions, 1 deletions
diff --git a/pages/kronika/_year/_month/_day/_title/index.vue b/pages/kronika/_year/_month/_day/_title/index.vue
index ed9eab7..331ed7a 100644
--- a/pages/kronika/_year/_month/_day/_title/index.vue
+++ b/pages/kronika/_year/_month/_day/_title/index.vue
@@ -6,6 +6,7 @@
     </div>
     <section v-else class="article">
       <img
+        v-if="attributes.image"
         :src="attributes.image"
         :alt="attributes.title"
         :title="attributes.title"
@@ -79,7 +80,8 @@ export default {
 }
 .article img {
   width: 100%;
-  border-radius: 5px;
+  /*border-radius: 5px;*/
+  box-shadow: inset 0px 0px 100px rgba(0, 0, 0, 0.25);
 }
 
 .article h1 {