Merge branch 'remove-unnecessary-div-account-section-headline' into 'develop'
Remove unnecessary div in account section headline See merge request soapbox-pub/soapbox-fe!384
This commit is contained in:
commit
4b1302d142
2 changed files with 11 additions and 11 deletions
|
@ -148,17 +148,15 @@ class AccountTimeline extends ImmutablePureComponent {
|
|||
return (
|
||||
<Column>
|
||||
<div className='account__section-headline'>
|
||||
<div style={{ width: '100%', display: 'flex' }}>
|
||||
<NavLink exact to={`/@${accountUsername}`}>
|
||||
<FormattedMessage id='account.posts' defaultMessage='Posts' />
|
||||
</NavLink>
|
||||
<NavLink exact to={`/@${accountUsername}/with_replies`}>
|
||||
<FormattedMessage id='account.posts_with_replies' defaultMessage='Posts and replies' />
|
||||
</NavLink>
|
||||
<NavLink exact to={`/@${accountUsername}/media`}>
|
||||
<FormattedMessage id='account.media' defaultMessage='Media' />
|
||||
</NavLink>
|
||||
</div>
|
||||
<NavLink exact to={`/@${accountUsername}`}>
|
||||
<FormattedMessage id='account.posts' defaultMessage='Posts' />
|
||||
</NavLink>
|
||||
<NavLink exact to={`/@${accountUsername}/with_replies`}>
|
||||
<FormattedMessage id='account.posts_with_replies' defaultMessage='Posts and replies' />
|
||||
</NavLink>
|
||||
<NavLink exact to={`/@${accountUsername}/media`}>
|
||||
<FormattedMessage id='account.media' defaultMessage='Media' />
|
||||
</NavLink>
|
||||
</div>
|
||||
<StatusList
|
||||
scrollKey='account_timeline'
|
||||
|
|
|
@ -467,6 +467,8 @@ a .account__avatar {
|
|||
|
||||
.account__section-headline {
|
||||
background: var(--foreground-color);
|
||||
width: 100%;
|
||||
display: flex;
|
||||
|
||||
button,
|
||||
a {
|
||||
|
|
Loading…
Reference in a new issue