From a4fe453bfad9d2c2a8ce07059ca3df233d95ff85 Mon Sep 17 00:00:00 2001 From: Djordje Vlaisavljevic Date: Wed, 27 Jul 2022 11:15:36 +0200 Subject: [PATCH] Fixed CTA spacing in empty state refs #1704 --- apps/comments-ui/src/components/NotSignedInBox.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/comments-ui/src/components/NotSignedInBox.js b/apps/comments-ui/src/components/NotSignedInBox.js index 72e3674d3f..395bf3fdef 100644 --- a/apps/comments-ui/src/components/NotSignedInBox.js +++ b/apps/comments-ui/src/components/NotSignedInBox.js @@ -12,6 +12,8 @@ const NotSignedInBox = (props) => { color: accentColor }; + const firstComment = (props.isFirst ? {borderTop: '0px', paddingTop: '0'} : {}); + const titleText = (props.isFirst ? 'Want to be the first to comment?' : 'Want to join the discussion?'); const handleSubscribeClick = (event) => { @@ -23,7 +25,7 @@ const NotSignedInBox = (props) => { }; return ( -
+

{titleText}