Restore "What's this?" message for Community Top Five #110

Closed
alexliebowitz wants to merge 1 commit from whats-this into master
2 changed files with 3 additions and 2 deletions

View file

@ -70,10 +70,10 @@ const communityCategoryToolTipText = ('Community Content is a public space where
var FeaturedCategory = React.createClass({ var FeaturedCategory = React.createClass({
render: function() { render: function() {
return (<div className="card-row card-row--small"> return (<div className="card-row card-row--small">
{ this.props.category ? { this.props.category ?
<h3 className="card-row__header">{this.props.category} <h3 className="card-row__header">{this.props.category}
{ this.props.category == "community" ? { this.props.category == 'Community Top Five' ?
<ToolTip label="What's this?" body={communityCategoryToolTipText} className="tooltip--header"/> <ToolTip label="What's this?" body={communityCategoryToolTipText} className="tooltip--header"/>
: '' }</h3> : '' }</h3>
: '' } : '' }

View file

@ -24,6 +24,7 @@
background-color: $color-bg; background-color: $color-bg;
font-size: $font-size * 7/8; font-size: $font-size * 7/8;
line-height: $font-line-height; line-height: $font-line-height;
white-space: normal;
box-shadow: $default-box-shadow; box-shadow: $default-box-shadow;
} }