From a2744288a5d98a27adb8a43607fd8128eb128e4a Mon Sep 17 00:00:00 2001 From: silverpill Date: Sun, 25 Sep 2022 23:05:42 +0000 Subject: [PATCH] Add button for removing attachment from post form --- src/assets/feather/x.svg | 1 + src/components/PostEditor.vue | 41 ++++++++++++++++++++++++++++++----- 2 files changed, 37 insertions(+), 5 deletions(-) create mode 100644 src/assets/feather/x.svg diff --git a/src/assets/feather/x.svg b/src/assets/feather/x.svg new file mode 100644 index 0000000..425248c --- /dev/null +++ b/src/assets/feather/x.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/PostEditor.vue b/src/components/PostEditor.vue index 01dc1a8..868e97e 100644 --- a/src/components/PostEditor.vue +++ b/src/components/PostEditor.vue @@ -16,8 +16,17 @@ required :placeholder="inReplyTo ? 'Your reply' : 'What\'s on your mind?'" > -
- +
+
+ + +