Skip to content

Commit

Permalink
Add additional section sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrtsmith committed Aug 16, 2017
1 parent 33c520c commit 598394b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 11 additions & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -506,11 +506,21 @@ <h2>Section</h2>
Sectioned content
</div>
</div>
<div class="c-demo-card">
<div class="c-demo-card u-push-bottom-md">
<div class="o-section-sm">
Sectioned content (small)
</div>
</div>
<div class="c-demo-card u-push-bottom-md">
<div class="o-section-md@lg">
Sectioned content at breakpoint
</div>
</div>
<div class="c-demo-card">
<div class="o-section-sm o-section-md@lg">
Sectioned content at breakpoint
</div>
</div>
</section>

<section class="o-section-md" id="flag">
Expand Down
1 change: 1 addition & 0 deletions nebula-css/_settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ $nb-list-spacing: (
) !default;

$nb-section-spacing: (
sm: $nb-spacing-unit,
md: $nb-spacing-unit-double
) !default;

Expand Down

0 comments on commit 598394b

Please sign in to comment.