Fix redundant indentation on Post reply indicator (#39554)
This commit is contained in:
parent
ec89e73f7b
commit
ef35e07832
@ -591,7 +591,7 @@ class Status extends ImmutablePureComponent {
|
||||
|
||||
return (
|
||||
<Hotkeys handlers={handlers} focusable={!unfocusable}>
|
||||
<div className={classNames('status__wrapper', `status__wrapper-${status.get('visibility')}`, { 'status__wrapper-reply': !!status.get('in_reply_to_id'), unread, focusable: !this.props.muted })} tabIndex={this.props.muted || unfocusable ? null : 0} data-featured={featured ? 'true' : null} aria-label={textForScreenReader({intl, status, rebloggedByText, isQuote: isQuotedPost})} ref={this.handleRef} data-nosnippet={status.getIn(['account', 'noindex'], true) || undefined}>
|
||||
<div className={classNames('status__wrapper', `status__wrapper-${status.get('visibility')}`, { 'status__wrapper-reply': !!status.get('in_reply_to_id'), 'status__wrapper--in-thread': !!rootId, unread, focusable: !this.props.muted })} tabIndex={this.props.muted || unfocusable ? null : 0} data-featured={featured ? 'true' : null} aria-label={textForScreenReader({intl, status, rebloggedByText, isQuote: isQuotedPost})} ref={this.handleRef} data-nosnippet={status.getIn(['account', 'noindex'], true) || undefined}>
|
||||
{!skipPrepend && prepend}
|
||||
|
||||
<div
|
||||
|
||||
@ -1742,7 +1742,7 @@ body > [data-popper-placement] {
|
||||
font-weight: 500;
|
||||
color: var(--color-text-secondary);
|
||||
|
||||
.status__wrapper-reply & {
|
||||
.status__wrapper-reply.status__wrapper--in-thread & {
|
||||
--thread-margin: calc(46px + 8px);
|
||||
|
||||
margin-inline-start: var(--thread-margin);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user