From 262760d2586cac48da27cf7eb5389116d4023dfe Mon Sep 17 00:00:00 2001
From: Henry Jameson <me@hjkos.com>
Date: Wed, 10 Apr 2019 21:48:42 +0300
Subject: revert unnecessary changes

---
 src/components/link-preview/link-preview.vue | 20 ++++----------------
 1 file changed, 4 insertions(+), 16 deletions(-)

(limited to 'src/components/link-preview/link-preview.vue')

diff --git a/src/components/link-preview/link-preview.vue b/src/components/link-preview/link-preview.vue
index 493774c2..64b1a58b 100644
--- a/src/components/link-preview/link-preview.vue
+++ b/src/components/link-preview/link-preview.vue
@@ -1,25 +1,13 @@
 <template>
   <div>
-    <a
-      class="link-preview-card"
-      :href="card.url"
-      target="_blank"
-      rel="noopener"
-    >
-      <div
-        v-if="useImage"
-        class="card-image"
-        :class="{ 'small-image': size === 'small' }"
-      >
-        <img :src="card.image">
+    <a class="link-preview-card" :href="card.url" target="_blank" rel="noopener">
+      <div class="card-image" :class="{ 'small-image': size === 'small' }" v-if="useImage">
+        <img :src="card.image"></img>
       </div>
       <div class="card-content">
         <span class="card-host faint">{{ card.provider_name }}</span>
         <h4 class="card-title">{{ card.title }}</h4>
-        <p
-          v-if="useDescription"
-          class="card-description"
-        >{{ card.description }}</p>
+        <p class="card-description" v-if="useDescription">{{ card.description }}</p>
       </div>
     </a>
   </div>
-- 
cgit v1.2.3-70-g09d2

