Challenge SidePanel tweaking (#162)

This commit is contained in:
Stuart Taylor
2018-06-07 23:11:28 +01:00
committed by Mrugesh Mohapatra
parent 8635f8bdee
commit cc6067f065
3 changed files with 3 additions and 5 deletions

View File

@ -209,7 +209,7 @@ class ShowClassic extends PureComponent {
const showPreview =
challengeType === challengeTypes.html ||
challengeType === challengeTypes.modern;
const blockNameTitle = `${blockName} - ${title}`;
const blockNameTitle = `${blockName}: ${title}`;
return (
<Fragment>
<Helmet title={`${blockNameTitle} | Learn freeCodeCamp`} />

View File

@ -15,11 +15,10 @@ function ChallengeTitle({ children, isCompleted }) {
);
}
return (
<h4 className='text-center challenge-title'>
<h2 className='text-center challenge-title'>
{children || 'Happy Coding!'}
{icon}
<hr />
</h4>
</h2>
);
}

View File

@ -68,7 +68,6 @@ export class SidePanel extends PureComponent {
<ChallengeTitle>{title}</ChallengeTitle>
<ChallengeDescription description={description} />
</div>
<hr />
<ToolPanel guideUrl={guideUrl} />
<TestSuite tests={tests} />
</div>