pl-fe: display Expand/Collapse button when status.content is empty
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
99c5521e97
commit
fd15332d6a
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ const StatusContent: React.FC<IStatusContent> = React.memo(({
|
||||||
<span className={clsx({ 'line-clamp-3': !expanded && lineClamp })} ref={spoilerNode}>
|
<span className={clsx({ 'line-clamp-3': !expanded && lineClamp })} ref={spoilerNode}>
|
||||||
<Emojify text={spoilerText} emojis={status.emojis} />
|
<Emojify text={spoilerText} emojis={status.emojis} />
|
||||||
</span>
|
</span>
|
||||||
{status.content && expandable && (
|
{expandable && (
|
||||||
<Button
|
<Button
|
||||||
className='ml-2 align-middle'
|
className='ml-2 align-middle'
|
||||||
type='button'
|
type='button'
|
||||||
|
|
Loading…
Reference in a new issue