diff --git a/app/javascript/mastodon/components/empty_state/empty_state.module.scss b/app/javascript/mastodon/components/empty_state/empty_state.module.scss index 9d1d5a115c..e9602f2e41 100644 --- a/app/javascript/mastodon/components/empty_state/empty_state.module.scss +++ b/app/javascript/mastodon/components/empty_state/empty_state.module.scss @@ -10,7 +10,7 @@ } .content { - max-width: 300px; + max-width: 370px; svg, img { diff --git a/app/javascript/mastodon/features/account_featured/components/empty_message.tsx b/app/javascript/mastodon/features/account_featured/components/empty_message.tsx index c7c4b20956..2503de2aa0 100644 --- a/app/javascript/mastodon/features/account_featured/components/empty_message.tsx +++ b/app/javascript/mastodon/features/account_featured/components/empty_message.tsx @@ -21,7 +21,7 @@ interface EmptyMessageProps { hidden: boolean; blockedBy: boolean; accountId?: string; - withImage?: boolean; + withoutAddCollectionButton?: boolean; } export const EmptyMessage: React.FC = ({ @@ -29,7 +29,7 @@ export const EmptyMessage: React.FC = ({ suspended, hidden, blockedBy, - withImage = true, + withoutAddCollectionButton, }) => { const { acct } = useParams<{ acct?: string }>(); const me = useCurrentAccountId(); @@ -57,7 +57,7 @@ export const EmptyMessage: React.FC = ({ const hasCollections = areCollectionsEnabled(); - const image = withImage && ; + const image = ; if (me === accountId) { if (hasCollections) { @@ -78,12 +78,14 @@ export const EmptyMessage: React.FC = ({ /> } > - - - + {!withoutAddCollectionButton && ( + + + + )}