From a3c703bd37fc55c2377cb0bf099af6a21ea07e8e Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 14 Jun 2021 02:52:41 +0300 Subject: compact notifs --- src/components/status_body/status_body.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/components/status_body/status_body.js') diff --git a/src/components/status_body/status_body.js b/src/components/status_body/status_body.js index 26491e1b..6dc028a6 100644 --- a/src/components/status_body/status_body.js +++ b/src/components/status_body/status_body.js @@ -23,6 +23,7 @@ library.add( const StatusContent = { name: 'StatusContent', props: [ + 'compact', 'status', 'focused', 'noHeading', -- cgit v1.2.3-70-g09d2 From c8a7b6f4338e5240762915ef40aeb81e8d9beefe Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Sun, 15 Aug 2021 18:21:25 +0300 Subject: fix long posts double-fading in notifications --- src/components/status_body/status_body.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/components/status_body/status_body.js') 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 }, -- cgit v1.2.3-70-g09d2