mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 08:31:23 -05:00
Merge pull request #7253 from bocoup/issue-7176
Fix gh-7176: Fix empty h5 elements in the homepage
This commit is contained in:
commit
32cce60904
1 changed files with 2 additions and 4 deletions
|
@ -8,7 +8,7 @@ const Box = props => (
|
|||
<div className={classNames('box', props.className)}>
|
||||
<div className="box-header">
|
||||
<h4>{props.title}</h4>
|
||||
<h5>{props.subtitle}</h5>
|
||||
{props.subtitle ? <h5>{props.subtitle}</h5> : null}
|
||||
<p>
|
||||
<a
|
||||
href={props.moreHref}
|
||||
|
@ -19,9 +19,7 @@ const Box = props => (
|
|||
</p>
|
||||
</div>
|
||||
|
||||
<div className="box-content">
|
||||
{props.children}
|
||||
</div>
|
||||
<div className="box-content">{props.children}</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue