mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Refined filter view
This commit is contained in:
@ -309,7 +309,11 @@ const ParseHTML: React.FC<Props> = ({
|
||||
height: numberOfLines === 1 && !expanded ? 0 : undefined
|
||||
}}
|
||||
numberOfLines={
|
||||
typeof totalLines === 'number' ? (expanded ? 999 : numberOfLines) : MAX_ALLOWED_LINES
|
||||
typeof totalLines === 'number'
|
||||
? expanded
|
||||
? 999
|
||||
: numberOfLines
|
||||
: Math.max(MAX_ALLOWED_LINES, numberOfLines)
|
||||
}
|
||||
selectable={selectable}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user