Fix(layout): use specific body css tag for react

This commit is contained in:
Berkeley Martinez
2016-07-28 23:28:59 -07:00
parent 8bbe0b31f9
commit ff13fc4835
2 changed files with 6 additions and 1 deletions

View File

@ -67,6 +67,11 @@ body.no-top-and-bottom-margins {
margin: 75px 20px 0px 20px; margin: 75px 20px 0px 20px;
} }
body.react-layout {
margin-top: 75px;
margin-bottom: 0px;
}
h1, h2 { h1, h2 {
font-weight: 400; font-weight: 400;
} }

View File

@ -6,7 +6,7 @@ html(lang='en')
else else
title Free Code Camp title Free Code Camp
include partials/react-stylesheets include partials/react-stylesheets
body.container.no-top-and-bottom-margins(style='overflow: hidden') body.container.react-layout(style='overflow: hidden')
#fcc!= markup #fcc!= markup
script!= state script!= state
script. script.