Merge branch 'chats-font-fix' into 'develop'
Add Inter 600, fix ChatPaneHeader font weight See merge request soapbox-pub/soapbox!1998
This commit is contained in:
commit
5a38f7fb09
2 changed files with 4 additions and 5 deletions
|
@ -37,11 +37,9 @@ const ChatPaneHeader = (props: IChatPaneHeader) => {
|
|||
data-testid='title'
|
||||
{...buttonProps}
|
||||
>
|
||||
{typeof title === 'string' ? (
|
||||
<Text weight='semibold'>
|
||||
{title}
|
||||
</Text>
|
||||
) : (title)}
|
||||
<Text weight='semibold' tag='div'>
|
||||
{title}
|
||||
</Text>
|
||||
|
||||
{(typeof unreadCount !== 'undefined' && unreadCount > 0) && (
|
||||
<HStack alignItems='center' space={2}>
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
Loading…
Reference in a new issue