Skip to content

Commit

Permalink
fix: remove outside gap in .row class (AT-UI#5)
Browse files Browse the repository at this point in the history
* Remove outside row gap!

Align to external container.

* Update grid.scss
  • Loading branch information
ilmala authored and koppthe committed Sep 10, 2017
1 parent 52b0e6e commit 6b50cbc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/core/grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
$gutter-width: 8px;
$outer-margin: 24px;
$half-gutter-width: $gutter-width * .5;
$gutter-compensation: -$half-gutter-width;

/* Extra small screen / Mobile */
$screen-xs : 480px;
Expand Down Expand Up @@ -60,8 +59,8 @@ $baseWidth: 4.166667%;
display: flex;
flex-direction: row;
flex-wrap: wrap;
// margin-left: $gutter-compensation;
// margin-right: $gutter-compensation;
margin-left: $half-gutter-width * -1;
margin-right: $half-gutter-width * -1;

&.reverse {
flex-direction: row-reverse;
Expand Down

0 comments on commit 6b50cbc

Please sign in to comment.