Skip to content

Commit

Permalink
fix: add margin-top to nested elements within columns (#501)
Browse files Browse the repository at this point in the history
  • Loading branch information
vpicone authored Nov 5, 2019
1 parent 1145089 commit 7ad684f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/example/src/pages/demo/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ Prow scuttle parrel provost Sail ho shrouds spirits boom mizzenmast yardarm. Pin
<Row>
<Column colMd={5} colLg={8}>

## Section heading

Prow scuttle parrel provost Sail ho shrouds spirits boom mizzenmast yardarm. Pinnace holystone mizzenmast quarter crow's nest nipperkin grog yardarm hempen halter furl. Swab barque interloper chantey doubloon starboard grog black jack gangway rutters.

> Add-on repositories, or repos, are components built for a specific product or
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
margin-top: var(--space);
}

[class*='--col'] > * + * {
margin-top: 1.5rem;
margin-top: var(--space);
}

.padded {
min-height: calc(100vh - 40rem);
padding-top: 80px;
Expand Down

1 comment on commit 7ad684f

@vercel
Copy link

@vercel vercel bot commented on 7ad684f Nov 5, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.