From a9e98965abc7997c0823a8993911ca1d583b3455 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 5 Feb 2021 21:21:41 -0700 Subject: [PATCH] Update components, improve content warnings --- .../assets/js/components/PostComponent.vue | 6 ++--- resources/assets/js/components/Timeline.vue | 4 +-- .../components/presenter/PhotoPresenter.vue | 25 +++++++++++++------ 3 files changed, 23 insertions(+), 12 deletions(-) diff --git a/resources/assets/js/components/PostComponent.vue b/resources/assets/js/components/PostComponent.vue index 2c23b9bf0..83418090b 100644 --- a/resources/assets/js/components/PostComponent.vue +++ b/resources/assets/js/components/PostComponent.vue @@ -53,7 +53,7 @@
- +
@@ -113,12 +113,12 @@
-
+
{{truncate(status.account.username,15)}} This comment may contain sensitive material - Show + Show
diff --git a/resources/assets/js/components/Timeline.vue b/resources/assets/js/components/Timeline.vue index 35e371962..a14f4cfb0 100644 --- a/resources/assets/js/components/Timeline.vue +++ b/resources/assets/js/components/Timeline.vue @@ -167,7 +167,7 @@
- +
@@ -227,7 +227,7 @@ {{status.favourites_count == 1 ? 'like' : 'likes'}}
-

+

{{status.account.username}} diff --git a/resources/assets/js/components/presenter/PhotoPresenter.vue b/resources/assets/js/components/presenter/PhotoPresenter.vue index d96973600..0ac4ef2e2 100644 --- a/resources/assets/js/components/presenter/PhotoPresenter.vue +++ b/resources/assets/js/components/presenter/PhotoPresenter.vue @@ -1,5 +1,5 @@