Skip to content

Commit 6c74383

Browse files
authored
fix: Hide "Followers you know" widget from your own profile, mastodon#34698 (mastodon#34699)
1 parent 3f965d8 commit 6c74383

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

app/javascript/mastodon/features/account_timeline/components/account_header.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,9 @@ export const AccountHeader: React.FC<{
912912
<div className='account__header__badges'>{badges}</div>
913913
)}
914914

915-
{signedIn && <FamiliarFollowers accountId={accountId} />}
915+
{account.id !== me && signedIn && (
916+
<FamiliarFollowers accountId={accountId} />
917+
)}
916918

917919
{!(suspended || hidden) && (
918920
<div className='account__header__extra'>

app/javascript/styles/mastodon/components.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2179,7 +2179,7 @@ a .account__avatar {
21792179
flex-wrap: nowrap;
21802180

21812181
& > :not(:first-child) {
2182-
margin-inline-start: -8px;
2182+
margin-inline-start: -12px;
21832183
}
21842184

21852185
& > :first-child {

0 commit comments

Comments
 (0)