Skip to content

Commit

Permalink
Layout: Conditionally add wp-singletree-layout class
Browse files Browse the repository at this point in the history
  • Loading branch information
ockham committed Aug 9, 2016
1 parent 69fb078 commit f892793
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/layout/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ Layout = React.createClass( {
`is-section-${this.props.section.name}`,
`focus-${this.props.currentLayoutFocus}`,
{ 'is-support-user': this.props.isSupportUser },
{ 'has-no-sidebar': ! this.props.hasSidebar }
{ 'has-no-sidebar': ! this.props.hasSidebar },
{ 'wp-singletree-layout': !! this.props.primary }
),
loadingClass = classnames( {
layout__loader: true,
Expand Down

0 comments on commit f892793

Please sign in to comment.