diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-12-01 14:40:25 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-12-01 14:40:25 +0100 |
commit | 5bd9880c585cbfde37640e4929009cee5421a2a4 (patch) | |
tree | 54da696a013555646e4b7a55ed0394294c4addbd /components/PostLink.vue | |
parent | a28d5383f973e26da70b738f4a319083c45551af (diff) | |
download | puszcza-5bd9880c585cbfde37640e4929009cee5421a2a4.tar.gz puszcza-5bd9880c585cbfde37640e4929009cee5421a2a4.zip |
Fix postlink size
Diffstat (limited to 'components/PostLink.vue')
-rw-r--r-- | components/PostLink.vue | 8 |
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> |