diff --git a/apps/admin-x-activitypub/src/components/global/BackButton.tsx b/apps/admin-x-activitypub/src/components/global/BackButton.tsx index 6e53aad9c6..5fa464e63c 100644 --- a/apps/admin-x-activitypub/src/components/global/BackButton.tsx +++ b/apps/admin-x-activitypub/src/components/global/BackButton.tsx @@ -1,28 +1,33 @@ import React from 'react'; -import {Button, LucideIcon} from '@tryghost/shade'; +import {Button, LucideIcon, cn} from '@tryghost/shade'; import {useNavigate, useNavigationStack} from '@tryghost/admin-x-framework'; interface BackButtonProps { + className?: string, onClick?: () => void; } -const BackButton: React.FC = ({onClick}) => { +const BackButton: React.FC = ({className, onClick}) => { const navigate = useNavigate(); const {previousPath} = useNavigationStack(); return ( - ); diff --git a/apps/admin-x-activitypub/src/components/layout/Header/Header.tsx b/apps/admin-x-activitypub/src/components/layout/Header/Header.tsx index 85b89702c3..f51f0ab381 100644 --- a/apps/admin-x-activitypub/src/components/layout/Header/Header.tsx +++ b/apps/admin-x-activitypub/src/components/layout/Header/Header.tsx @@ -42,8 +42,8 @@ const Header: React.FC = () => { return ( <> {onlyBackButton ? -
- {backActive && } +
+ {backActive && }
:
diff --git a/apps/admin-x-activitypub/src/views/Inbox/components/InboxList.tsx b/apps/admin-x-activitypub/src/views/Inbox/components/InboxList.tsx index 3bce44738a..e50a0d57f4 100644 --- a/apps/admin-x-activitypub/src/views/Inbox/components/InboxList.tsx +++ b/apps/admin-x-activitypub/src/views/Inbox/components/InboxList.tsx @@ -159,7 +159,7 @@ const InboxList:React.FC = ({ setIsReaderOpen(open); }} > - + Reader Ghost reader for long form articles diff --git a/apps/admin-x-activitypub/src/views/Profile/components/ActorList.tsx b/apps/admin-x-activitypub/src/views/Profile/components/ActorList.tsx index d3763f84e3..11802fd68b 100644 --- a/apps/admin-x-activitypub/src/views/Profile/components/ActorList.tsx +++ b/apps/admin-x-activitypub/src/views/Profile/components/ActorList.tsx @@ -79,7 +79,7 @@ const ActorList: React.FC = ({
- {getName(actor)} + {getName(actor)}
{actor.handle || getUsername(actor)}
diff --git a/apps/admin-x-activitypub/src/views/Profile/components/ProfilePage.tsx b/apps/admin-x-activitypub/src/views/Profile/components/ProfilePage.tsx index f6ddb55f0a..984514fad5 100644 --- a/apps/admin-x-activitypub/src/views/Profile/components/ProfilePage.tsx +++ b/apps/admin-x-activitypub/src/views/Profile/components/ProfilePage.tsx @@ -97,7 +97,7 @@ const ProfilePage:React.FC = ({ )} <> {account?.bannerImageUrl ? -
+
{account?.name} = ({ />
: -
+
}