diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-06-19 15:41:17 +0200 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-02-22 01:37:07 -0600 |
commit | fbbbc9b81ae6ff8ca97185abcb36e93a323e65d8 (patch) | |
tree | 65a09e08abb09adc6d1ba4782512eb6f8711d9b7 /app/javascript/flavours/glitch/features/compose/components | |
parent | 4010b34df4b67d669d6fff2c717ff23cc9b82d92 (diff) |
port glitch-soc@`38d2882` to monsterfork: Fix NavigationBar styling
Diffstat (limited to 'app/javascript/flavours/glitch/features/compose/components')
-rw-r--r-- | app/javascript/flavours/glitch/features/compose/components/navigation_bar.js | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/app/javascript/flavours/glitch/features/compose/components/navigation_bar.js b/app/javascript/flavours/glitch/features/compose/components/navigation_bar.js index 5faf2b509..8dea6f5b4 100644 --- a/app/javascript/flavours/glitch/features/compose/components/navigation_bar.js +++ b/app/javascript/flavours/glitch/features/compose/components/navigation_bar.js @@ -20,20 +20,22 @@ export default class NavigationBar extends ImmutablePureComponent { <Avatar account={this.props.account} size={48} /> </Permalink> - <Permalink className='acct' href={this.props.account.get('url')} to={`/accounts/${this.props.account.get('id')}`}> - <strong>@{this.props.account.get('acct')}</strong> - </Permalink> + <div className='navigation-bar__profile'> + <Permalink className='acct' href={this.props.account.get('url')} to={`/accounts/${this.props.account.get('id')}`}> + <strong>@{this.props.account.get('acct')}</strong> + </Permalink> - { profileLink !== undefined && ( - <a - className='edit' - href={ profileLink } - ><FormattedMessage id='navigation_bar.edit_profile' defaultMessage='Edit profile' /></a> - )} + { profileLink !== undefined && ( + <a + className='edit' + href={ profileLink } + ><FormattedMessage id='navigation_bar.edit_profile' defaultMessage='Edit profile' /></a> + )} - <Permalink className='drafts' href='/tags/self.draft' to='/timelines/tag/self.draft'> - <FormattedMessage id='navigation_bar.drafts' defaultMessage='Show drafts' /> - </Permalink> + <Permalink className='drafts' href='/tags/self.draft' to='/timelines/tag/self.draft'> + <FormattedMessage id='navigation_bar.drafts' defaultMessage='Show drafts' /> + </Permalink> + </div> </div> ); }; |