about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/directory/components
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-08-30 07:41:16 +0200
committerGitHub <noreply@github.com>2019-08-30 07:41:16 +0200
commit987190417228bb56041ea824772341f07f4263d6 (patch)
treea5619e3af1fee7d8d841015de5f530a04373b363 /app/javascript/mastodon/features/directory/components
parent7235f538c6b6f6ddcbc9c35af16e96f266485712 (diff)
Change layout of public profile directory to be the same as in web UI (#11705)
Diffstat (limited to 'app/javascript/mastodon/features/directory/components')
-rw-r--r--app/javascript/mastodon/features/directory/components/account_card.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/mastodon/features/directory/components/account_card.js b/app/javascript/mastodon/features/directory/components/account_card.js
index a9c9976be..cb23a02ba 100644
--- a/app/javascript/mastodon/features/directory/components/account_card.js
+++ b/app/javascript/mastodon/features/directory/components/account_card.js
@@ -119,7 +119,7 @@ class AccountCard extends ImmutablePureComponent {
     return (
       <div className='directory__card'>
         <div className='directory__card__img'>
-          <img src={autoPlayGif ? account.get('header') : account.get('header_static')} alt='' className='parallax' />
+          <img src={autoPlayGif ? account.get('header') : account.get('header_static')} alt='' />
         </div>
 
         <div className='directory__card__bar'>
@@ -134,7 +134,7 @@ class AccountCard extends ImmutablePureComponent {
         </div>
 
         <div className='directory__card__extra'>
-          {account.get('note').length > 0 && account.get('note') !== '<p></p>' && <div className='account__header__content' dangerouslySetInnerHTML={{ __html: account.get('note_emojified') }} />}
+          <div className='account__header__content' dangerouslySetInnerHTML={{ __html: account.get('note_emojified') }} />
         </div>
 
         <div className='directory__card__extra'>