From 885b64faf685956877cb61423a7513d9363780f9 Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Tue, 2 May 2017 04:28:22 -0400 Subject: [PATCH] Restore "What's this?" message for Community Top Five --- ui/js/page/discover.js | 4 ++-- ui/scss/component/_tooltip.scss | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/js/page/discover.js b/ui/js/page/discover.js index 42ed3999d..e45936aa6 100644 --- a/ui/js/page/discover.js +++ b/ui/js/page/discover.js @@ -70,10 +70,10 @@ const communityCategoryToolTipText = ('Community Content is a public space where var FeaturedCategory = React.createClass({ render: function() { - return (
+ return (
{ this.props.category ?

{this.props.category} - { this.props.category == "community" ? + { this.props.category == 'Community Top Five' ? : '' }

: '' } diff --git a/ui/scss/component/_tooltip.scss b/ui/scss/component/_tooltip.scss index 9a6ccd7da..e55a16307 100644 --- a/ui/scss/component/_tooltip.scss +++ b/ui/scss/component/_tooltip.scss @@ -24,6 +24,7 @@ background-color: $color-bg; font-size: $font-size * 7/8; line-height: $font-line-height; + white-space: normal; box-shadow: $default-box-shadow; } -- 2.45.2