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

Commit

Permalink
fix(layout): add border-box style to to all .flex variants
Browse files Browse the repository at this point in the history
*  also allow build of Layout css deprecated standalone usages.
  • Loading branch information
ThomasBurleson committed Oct 1, 2015
1 parent 77c050a commit b1974bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gulp/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = {
'src/core/services/layout/layout.scss'
],
scssStandaloneFiles: [
'src/core/services/layout/standalone.scss'
'src/core/services/layout/layout.scss'
],
scssTestFiles: [
'src/core/services/layout/layout.scss'
Expand Down
2 changes: 1 addition & 1 deletion src/core/services/layout/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
@for $i from 0 through 20 {
$value : #{$i * 5 + '%'};

.#{$flexName}-#{$i * 5} { flex: 0 0 #{$value}; }
.#{$flexName}-#{$i * 5} { box-sizing: border-box; flex: 0 0 #{$value}; }

.md-layout-row > .#{$flexName}-#{$i * 5},
.md-layout#{$name}-row > .#{$flexName}-#{$i * 5} { flex: 0 0 #{$value}; max-width: #{$value}; max-height: 100%; }
Expand Down

0 comments on commit b1974bb

Please sign in to comment.