Skip to content

Commit

Permalink
adds "section" className to section tags
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed Mar 14, 2017
1 parent 2fa7a42 commit b68b0c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Section.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "./variables";

section {
.section {
padding: calc(var(--gutter) / 2);

& article {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Section.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Section extends Component {
const content = children.filter(c => c.type.name !== "SectionTitle");

return (
<section>
<section className="section">
{ title.length ? title : null }
<div className={ type }>{ content }</div>
</section>
Expand Down

0 comments on commit b68b0c8

Please sign in to comment.