[Glitch] Add CSS class to replies

Port 2bbec9f4da to glitch-soc
This commit is contained in:
Thibaut Girka 2018-08-28 11:05:17 +02:00 committed by ThibG
parent 3b09597556
commit 4a9e3f80e8

View file

@ -475,6 +475,7 @@ export default class Status extends ImmutablePureComponent {
const computedClass = classNames('status', `status-${status.get('visibility')}`, { const computedClass = classNames('status', `status-${status.get('visibility')}`, {
collapsed: isCollapsed, collapsed: isCollapsed,
'has-background': isCollapsed && background, 'has-background': isCollapsed && background,
'status__wrapper-reply': !!status.get('in_reply_to_id'),
muted, muted,
}, 'focusable'); }, 'focusable');