about summary refs log tree commit diff
path: root/components/PostLink.vue
diff options
context:
space:
mode:
Diffstat (limited to 'components/PostLink.vue')
-rw-r--r--components/PostLink.vue8
1 files changed, 5 insertions, 3 deletions
diff --git a/components/PostLink.vue b/components/PostLink.vue
index 9ee24b7..2dc3dd9 100644
--- a/components/PostLink.vue
+++ b/components/PostLink.vue
@@ -2,8 +2,8 @@
   <div class="post-link">
     <a :href="route">
       <div class="post-container">
-        <h4 class="post-title">{{title}}</h4>
-        <p class="post-description">{{shortenedDescription}}...</p>
+        <h4 class="post-title">{{ title }}</h4>
+        <p class="post-description">{{ shortenedDescription }}...</p>
       </div>
     </a>
   </div>
@@ -54,10 +54,12 @@ export default {
 
 .post-link > a {
   text-decoration: none;
+  height: 100%;
 }
 
 .post-link .post-container {
   padding: 20px;
+  height: 100%;
 }
 
 .post-link .post-title {
@@ -69,4 +71,4 @@ export default {
   color: #484848;
   font-size: 0.9em;
 }
-</style>
\ No newline at end of file
+</style>