From 90a7ff9c91aa2a01efd7aa06ca465f48197600f4 Mon Sep 17 00:00:00 2001 From: Matilde Park Date: Tue, 10 Mar 2020 21:25:07 -0400 Subject: [PATCH] launch: notification in header is relative to @p The notification could overlap long @ps. This amends the notification to be relative to the @p block, pushed to the left of it. --- .../launch/src/js/components/header.js | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/pkg/interface/launch/src/js/components/header.js b/pkg/interface/launch/src/js/components/header.js index e1a3b7878..f89fbd369 100644 --- a/pkg/interface/launch/src/js/components/header.js +++ b/pkg/interface/launch/src/js/components/header.js @@ -14,31 +14,33 @@ export default class Header extends Component { let numNotificationsElem = inviteNum > 0 ? ( - +

{inviteNum > 99 ? "99+" : inviteNum}

) : ( - +

0

@@ -57,7 +59,7 @@ export default class Header extends Component { }}> Home -
+
{numNotificationsElem}