logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: c8a7b6f4338e5240762915ef40aeb81e8d9beefe
parent 5431d8fe55ac43cee7af371c31fe610b6f9c1a7a
Author: Henry Jameson <me@hjkos.com>
Date:   Sun, 15 Aug 2021 18:21:25 +0300

fix long posts double-fading in notifications

Diffstat:

Msrc/components/status_body/status_body.js1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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(/<p|<br/).length + this.postLength / 80 return lengthScore > 20 },