Browse Source

fix importer

Henry Jameson 2 years ago
parent
commit
dadf2f407f
1 changed files with 24 additions and 20 deletions
  1. 24 20
      src/components/importer/importer.vue

+ 24 - 20
src/components/importer/importer.vue

@@ -20,26 +20,30 @@
     >
       {{ submitButtonLabel || $t('importer.submit') }}
     </button>
-    <button
-      v-if="success"
-      class="button-unstyled"
-      @click="dismiss"
-    >
-      <FAIcon
-        icon="times"
-      />
-      <p>{{ successMessage || $t('importer.success') }}</p>
-    </button>
-    <button
-      v-else-if="error"
-      class="button-unstyled"
-      @click="dismiss"
-    >
-      <FAIcon
-        icon="times"
-      />
-      <p>{{ errorMessage || $t('importer.error') }}</p>
-    </button>
+    <div v-if="success">
+      <button
+        class="button-unstyled"
+        @click="dismiss"
+      >
+        <FAIcon
+          icon="times"
+        />
+      </button>
+      {{ ' ' }}
+      <span>{{ successMessage || $t('importer.success') }}</span>
+    </div>
+    <div v-else-if="error">
+      <button
+        class="button-unstyled"
+        @click="dismiss"
+      >
+        <FAIcon
+          icon="times"
+        />
+      </button>
+      {{ ' ' }}
+      <span>{{ errorMessage || $t('importer.error') }}</span>
+    </div>
   </div>
 </template>