Skip to content

Commit 598394b

Browse files
committed
Add additional section sizing
1 parent 33c520c commit 598394b

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

demo/index.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,11 +506,21 @@ <h2>Section</h2>
506506
Sectioned content
507507
</div>
508508
</div>
509-
<div class="c-demo-card">
509+
<div class="c-demo-card u-push-bottom-md">
510+
<div class="o-section-sm">
511+
Sectioned content (small)
512+
</div>
513+
</div>
514+
<div class="c-demo-card u-push-bottom-md">
510515
<div class="o-section-md@lg">
511516
Sectioned content at breakpoint
512517
</div>
513518
</div>
519+
<div class="c-demo-card">
520+
<div class="o-section-sm o-section-md@lg">
521+
Sectioned content at breakpoint
522+
</div>
523+
</div>
514524
</section>
515525

516526
<section class="o-section-md" id="flag">

nebula-css/_settings.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ $nb-list-spacing: (
2727
) !default;
2828

2929
$nb-section-spacing: (
30+
sm: $nb-spacing-unit,
3031
md: $nb-spacing-unit-double
3132
) !default;
3233

0 commit comments

Comments
 (0)