From 463504346ca1f702cfa43830f4e24eca5e216d22 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 14 Dec 2022 10:12:24 -0600 Subject: [PATCH] Add Inter 600, fix ChatPaneHeader font weight --- .../chats/components/chat-widget/chat-pane-header.tsx | 8 +++----- app/styles/application.scss | 1 + 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/soapbox/features/chats/components/chat-widget/chat-pane-header.tsx b/app/soapbox/features/chats/components/chat-widget/chat-pane-header.tsx index 5b2e17299..20967d171 100644 --- a/app/soapbox/features/chats/components/chat-widget/chat-pane-header.tsx +++ b/app/soapbox/features/chats/components/chat-widget/chat-pane-header.tsx @@ -37,11 +37,9 @@ const ChatPaneHeader = (props: IChatPaneHeader) => { data-testid='title' {...buttonProps} > - {typeof title === 'string' ? ( - - {title} - - ) : (title)} + + {title} + {(typeof unreadCount !== 'undefined' && unreadCount > 0) && ( diff --git a/app/styles/application.scss b/app/styles/application.scss index 2582b0b63..ff2bf20de 100644 --- a/app/styles/application.scss +++ b/app/styles/application.scss @@ -4,6 +4,7 @@ @import '~@fontsource/inter/300.css'; @import '~@fontsource/inter/400.css'; @import '~@fontsource/inter/500.css'; +@import '~@fontsource/inter/600.css'; @import '~@fontsource/inter/700.css'; @import '~@fontsource/inter/900.css';