From 1d9cb0d7c7eee4499b7394f35bcb038e27d243a5 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Wed, 19 Apr 2023 16:42:42 -0700 Subject: [PATCH] Fix message. --- components/messages.js | 2 +- components/pages/realtime/RealtimeLog.js | 2 +- components/pages/realtime/RealtimeLog.module.css | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/components/messages.js b/components/messages.js index 3cdac3be..f64fc764 100644 --- a/components/messages.js +++ b/components/messages.js @@ -99,7 +99,7 @@ export const labels = defineMessages({ all: { id: 'label.all', defaultMessage: 'All' }, sessions: { id: 'label.sessions', defaultMessage: 'Sessions' }, pageNotFound: { id: 'message.page-not-found', defaultMessage: 'Page not found' }, - logs: { id: 'label.activity-log', defaultMessage: 'Activity log' }, + activityLog: { id: 'label.activity-log', defaultMessage: 'Activity log' }, dismiss: { id: 'label.dismiss', defaultMessage: 'Dismiss' }, poweredBy: { id: 'label.powered-by', defaultMessage: 'Powered by {name}' }, pageViews: { id: 'label.page-views', defaultMessage: 'Page views' }, diff --git a/components/pages/realtime/RealtimeLog.js b/components/pages/realtime/RealtimeLog.js index ed3b6a33..c93af887 100644 --- a/components/pages/realtime/RealtimeLog.js +++ b/components/pages/realtime/RealtimeLog.js @@ -142,7 +142,7 @@ export default function RealtimeLog({ data, websiteDomain }) { return (
-
{formatMessage(labels.logs)}
+
{formatMessage(labels.activityLog)}
{logs?.length === 0 && } {logs?.length > 0 && ( diff --git a/components/pages/realtime/RealtimeLog.module.css b/components/pages/realtime/RealtimeLog.module.css index 10ec7c36..dc78f818 100644 --- a/components/pages/realtime/RealtimeLog.module.css +++ b/components/pages/realtime/RealtimeLog.module.css @@ -9,7 +9,7 @@ align-items: center; justify-content: space-between; font-size: var(--font-size-md); - line-height: 50px; + line-height: 40px; font-weight: 700; } @@ -42,6 +42,7 @@ .detail { display: flex; + align-items: center; flex: 1; gap: 10px; white-space: nowrap;