From 355f361b646f6c2924ffae9714116b7e8332cbbf Mon Sep 17 00:00:00 2001 From: Djordje Vlaisavljevic Date: Thu, 28 Nov 2024 14:26:36 +0000 Subject: [PATCH] Updated font sizes and colors for better hierarchy (#21755) ref https://linear.app/ghost/issue/AP-609/give-inbox-ui-more-room-to-breathe - Posts in the inbox view used the same font colors and sizes for elements of different importance. Now the contrast and hierarchy of elements is improved which makes it easier to browse the posts. - Larger border radius on hover better fits the size of posts. --- apps/admin-x-activitypub/package.json | 2 +- .../src/components/feed/FeedItem.tsx | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/admin-x-activitypub/package.json b/apps/admin-x-activitypub/package.json index 905ba21c05..429f5f2314 100644 --- a/apps/admin-x-activitypub/package.json +++ b/apps/admin-x-activitypub/package.json @@ -1,6 +1,6 @@ { "name": "@tryghost/admin-x-activitypub", - "version": "0.3.25", + "version": "0.3.26", "license": "MIT", "repository": { "type": "git", diff --git a/apps/admin-x-activitypub/src/components/feed/FeedItem.tsx b/apps/admin-x-activitypub/src/components/feed/FeedItem.tsx index 3bab389de0..65d9ea8adc 100644 --- a/apps/admin-x-activitypub/src/components/feed/FeedItem.tsx +++ b/apps/admin-x-activitypub/src/components/feed/FeedItem.tsx @@ -396,12 +396,12 @@ const FeedItem: React.FC = ({actor, object, layout, type, comment return ( <> {object && ( -
+
-
+
- {author.name} - {getRelativeTimestamp(date)} + {author.name} + {getRelativeTimestamp(date)}
@@ -412,10 +412,10 @@ const FeedItem: React.FC = ({actor, object, layout, type, comment }}> )} -
- {object.content && `${getReadingTime(object.content)}`} +
+ {object.content && `${getReadingTime(object.content)}`}
-
+