From c8a7b6f4338e5240762915ef40aeb81e8d9beefe Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Sun, 15 Aug 2021 18:21:25 +0300 Subject: [PATCH] fix long posts double-fading in notifications --- src/components/status_body/status_body.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/status_body/status_body.js b/src/components/status_body/status_body.js index f4167ac1..91c33135 100644 --- a/src/components/status_body/status_body.js +++ b/src/components/status_body/status_body.js @@ -50,6 +50,7 @@ const StatusContent = { // Using max-height + overflow: auto for status components resulted in false positives // very often with japanese characters, and it was very annoying. tallStatus () { + if (this.singleLine || this.compact) return false const lengthScore = this.status.raw_html.split(/ 20 },