diff --git a/app/soapbox/features/chats/components/chat_panes.js b/app/soapbox/features/chats/components/chat_panes.js
index 321c0796d..3ddf4ab58 100644
--- a/app/soapbox/features/chats/components/chat_panes.js
+++ b/app/soapbox/features/chats/components/chat_panes.js
@@ -59,10 +59,10 @@ class ChatPanes extends ImmutablePureComponent {
const mainWindowPane = (
+ {unreadCount > 0 && {shortNumberFormat(unreadCount)}}
- {unreadCount > 0 && {shortNumberFormat(unreadCount)}}
-
+ {unreadCount > 0
+ ?
{shortNumberFormat(unreadCount)}
+ :
+ }
- {unreadCount > 0 &&
{shortNumberFormat(unreadCount)}}
diff --git a/app/styles/chats.scss b/app/styles/chats.scss
index 410769b8d..cb498e628 100644
--- a/app/styles/chats.scss
+++ b/app/styles/chats.scss
@@ -71,6 +71,12 @@
.icon-with-badge__badge {
position: static;
pointer-events: none;
+ width: 18px;
+ height: 18px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin-right: 7px;
}
}