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

Commit b1974bb

Browse files
fix(layout): add border-box style to to all .flex variants
* also allow build of Layout css deprecated standalone usages.
1 parent 77c050a commit b1974bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gulp/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module.exports = {
3232
'src/core/services/layout/layout.scss'
3333
],
3434
scssStandaloneFiles: [
35-
'src/core/services/layout/standalone.scss'
35+
'src/core/services/layout/layout.scss'
3636
],
3737
scssTestFiles: [
3838
'src/core/services/layout/layout.scss'

src/core/services/layout/layout.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
@for $i from 0 through 20 {
193193
$value : #{$i * 5 + '%'};
194194

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

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

0 commit comments

Comments
 (0)