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

Remove fixed 1rem spacings on grid CSS. #815

Open
wants to merge 1 commit 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
6 changes: 3 additions & 3 deletions scss/components/_grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ $block-grid-max-size: 6 !default;
*/
@mixin grid-nest($nest: true) {
@if ($nest) {
margin-left: -1rem;
margin-right: -1rem;
margin-left: -($block-padding);
margin-right: -($block-padding);
}
}
/*
Expand Down Expand Up @@ -274,7 +274,7 @@ $block-grid-max-size: 6 !default;
list-style-type: none;

> li, > div, > section {
padding: 0 1rem 1rem;
padding: 0 $block-padding $block-padding;
flex: 0 0 percentage(1 / $up);
max-width: percentage(1 / $up);
}
Expand Down