Skip to content

Commit

Permalink
fix(MdLayout): add xlarge and large classes to the layout component (#…
Browse files Browse the repository at this point in the history
…1323)

* Update layout.scss with large and xlarge props

* Added md-gutter-xlarge variable

* Removed Trailing white spaces

* fix: change gutter for large size
  • Loading branch information
mrwhy-orig authored and marcosmoura committed Dec 22, 2017
1 parent f983c53 commit 6c5fe65
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
22 changes: 21 additions & 1 deletion src/components/MdLayout/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@
*/

.md-layout {
@include md-layout-gutter($md-gutter-large);
@include md-layout-gutter($md-gutter-xlarge);

@include md-layout-large {
@include md-layout-gutter($md-gutter-large);
}

@include md-layout-medium {
@include md-layout-gutter($md-gutter-medium);
Expand Down Expand Up @@ -62,6 +66,14 @@

@include md-layout-item;

@include md-layout-xlarge {
@include md-layout-item(xlarge);
}

@include md-layout-large {
@include md-layout-item(large);
}

@include md-layout-medium {
@include md-layout-item(medium);
}
Expand All @@ -82,6 +94,14 @@

@include md-hide;

@include md-layout-xlarge {
@include md-hide(xlarge);
}

@include md-layout-large {
@include md-hide(large);
}

@include md-layout-medium {
@include md-hide(medium);
}
Expand Down
1 change: 1 addition & 0 deletions src/components/MdLayout/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ $md-gutter-xsmall: 8px;
$md-gutter-small: 16px;
$md-gutter-medium: 24px;
$md-gutter-large: 40px;
$md-gutter-xlarge: 40px;

0 comments on commit 6c5fe65

Please sign in to comment.