fix long posts double-fading in notifications
This commit is contained in:
parent
5431d8fe55
commit
c8a7b6f433
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue