From 7b99d98c553f40ec4d633d0d4fdf65f275c80e77 Mon Sep 17 00:00:00 2001 From: Shpuld Shpuldson Date: Tue, 24 Nov 2020 12:32:42 +0200 Subject: Replace all use of + href='#' with proper buttons --- src/components/attachment/attachment.js | 6 ++++-- src/components/attachment/attachment.vue | 28 +++++++++++++++++----------- 2 files changed, 21 insertions(+), 13 deletions(-) (limited to 'src/components/attachment') diff --git a/src/components/attachment/attachment.js b/src/components/attachment/attachment.js index 3877b67f..5f5779a0 100644 --- a/src/components/attachment/attachment.js +++ b/src/components/attachment/attachment.js @@ -9,7 +9,8 @@ import { faMusic, faImage, faVideo, - faPlayCircle + faPlayCircle, + faTimes } from '@fortawesome/free-solid-svg-icons' library.add( @@ -17,7 +18,8 @@ library.add( faMusic, faImage, faVideo, - faPlayCircle + faPlayCircle, + faTimes ) const Attachment = { diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index f1fac2c8..b072b170 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -42,15 +42,13 @@ icon="play-circle" /> -
- Hide -
+ + Date: Tue, 24 Nov 2020 21:35:14 +0200 Subject: fix too big hide button, fix weird 28px hack --- src/components/attachment/attachment.vue | 4 ++-- src/components/popover/popover.vue | 6 +++++- src/components/timeline_menu/timeline_menu.vue | 1 - 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'src/components/attachment') diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index b072b170..2c1c1682 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -44,7 +44,7 @@