Skip to content

Commit e3c9b4f

Browse files
authored
Merge pull request #16 from aichner/fix-css-1
Remove style attr from JSX
2 parents 904afda + 07b9d05 commit e3c9b4f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class App extends React.Component {
2323
<Router>
2424
<div className="flyout">
2525
<Navbar />
26-
<main style={{ marginTop: "4rem" }}>
26+
<main>
2727
<Routes />
2828
</main>
2929
<Footer />

src/utilities/_base.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55
justify-content: space-between;
66
}
77

8-
// Navigation
8+
main{
9+
padding-top: 4rem;
10+
}
11+
12+
// Custom colors
913
.agency-dark{
1014
background-color: $agencyDark !important;
1115
&.darken-1{

0 commit comments

Comments
 (0)