Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

Added responsive grid content collapsing/uncollapsing #446

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions scss/components/_grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,16 @@ $block-grid-max-size: 6 !default;
&.panel { @include grid-panel-reset; }
}
}
.#{$size}-collapse {
@include breakpoint($size) {
&.grid-content { padding: 0; }
}
}
.#{$size}-uncollapse {
@include breakpoint($size) {
&.grid-content { padding: 0 $block-padding; }
}
}
}

/*
Expand Down