Fix(layout): use specific body css tag for react
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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.
|
||||||
|
Reference in New Issue
Block a user