瀏覽代碼

fix error clear icon

Henry Jameson 2 年之前
父節點
當前提交
70593e71e6
共有 1 個文件被更改,包括 8 次插入4 次删除
  1. 8 4
      src/components/post_status_form/post_status_form.vue

+ 8 - 4
src/components/post_status_form/post_status_form.vue

@@ -282,11 +282,15 @@
         class="alert error"
       >
         Error: {{ error }}
-        <FAIcon
-          class="fa-scale-110 fa-old-padding"
-          icon="times"
+        <button
+          class="button-unstyled"
           @click="clearError"
-        />
+        >
+          <FAIcon
+            class="fa-scale-110 fa-old-padding"
+            icon="times"
+          />
+        </button>
       </div>
       <gallery
         v-if="newStatus.files && newStatus.files.length > 0"