From 17f6eb18e73a46c0268d9c7bc46f755ac5da1b6f Mon Sep 17 00:00:00 2001 From: lambda Date: Thu, 12 Jul 2018 07:20:39 +0000 Subject: Revert "Merge branch 'cw-clickthrough' into 'develop'" This reverts merge request !291 --- src/components/status/status.js | 9 +-------- src/components/status/status.vue | 36 +++--------------------------------- 2 files changed, 4 insertions(+), 41 deletions(-) (limited to 'src/components/status') diff --git a/src/components/status/status.js b/src/components/status/status.js index 40786d94..87ef90d8 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -28,8 +28,7 @@ const Status = { userExpanded: false, preview: null, showPreview: false, - showingTall: false, - showingContentWarningContent: false + showingTall: false }), computed: { muteWords () { @@ -93,9 +92,6 @@ const Status = { return 'small' } return 'normal' - }, - clickThroughContentWarningsEnabled () { - return this.$store.state.config.clickThroughContentWarningsEnabled } }, components: { @@ -149,9 +145,6 @@ const Status = { toggleShowTall () { this.showingTall = !this.showingTall }, - toggleContentWarningContent () { - this.showingContentWarningContent = !this.showingContentWarningContent - }, replyEnter (id, event) { this.showPreview = true const targetId = Number(id) diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 2e33999a..f88c810d 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -73,22 +73,11 @@
Show more -
-
- - - - - -
-
-
Click to view this post. (has attachments)
-
-
+
Show less
-
+
@@ -107,13 +96,7 @@
- +
@@ -505,17 +488,4 @@ a.unmute { } } -.hiddenContent { - margin: 8px; - padding: 32px; - background: var(--lightBg, $fallback--lightBg); - border-radius: var(--panelRadius, $fallback--panelRadius); -} -.status-el_focused * .hiddenContent { - background: var(--bg, $fallback--bg); -} -.contentWarnedContent { - margin: 8px; -} - -- cgit v1.2.3-70-g09d2