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

Commit e1bfad7

Browse files
authored
Merge pull request #10 from IBM/9-fallback-props
9 fallback props
2 parents 733e018 + ed4ab5f commit e1bfad7

23 files changed

+39
-38
lines changed

bin/src/scss/_core.scss

+4-3
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,16 @@ body {
1212
margin-left: auto;
1313
margin-right: auto;
1414
max-width: #{map-get($last, breakpoint)}rem;
15+
width: 100vw;
1516
@if $includeFlexFallback {
1617
overflow-x: hidden;
17-
width: 100vw;
1818
}
1919
}
2020

2121
@if $includeFlexFallback {
2222
@supports (display: grid) {
2323
.#{$prefix}-container {
2424
overflow-x: initial;
25-
width: initial;
2625
}
2726
}
2827
}
@@ -38,7 +37,9 @@ body {
3837
.#{$prefix}-grid {
3938
align-items: flex-start;
4039
box-sizing: border-box;
41-
display: flex;
40+
@if $includeFlexFallback {
41+
display: flex;
42+
}
4243
display: grid;
4344
flex-wrap: wrap;
4445
position: relative;
Binary file not shown.

examples/bootstrap/css-gridish/css/bootstrap-grid-legacy.css

+3-4
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@ body {
77
margin-left: auto;
88
margin-right: auto;
99
max-width: 100rem;
10-
overflow-x: hidden;
11-
width: 100vw; }
10+
width: 100vw;
11+
overflow-x: hidden; }
1212

1313
@supports (display: grid) {
1414
.bootstrap-container {
15-
overflow-x: initial;
16-
width: initial; } }
15+
overflow-x: initial; } }
1716

1817
.bootstrap-container--left {
1918
margin-left: 0; }

examples/bootstrap/css-gridish/css/bootstrap-grid-legacy.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/bootstrap/css-gridish/css/bootstrap-grid.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ body {
66
box-sizing: border-box;
77
margin-left: auto;
88
margin-right: auto;
9-
max-width: 100rem; }
9+
max-width: 100rem;
10+
width: 100vw; }
1011

1112
.bootstrap-container--left {
1213
margin-left: 0; }
@@ -17,7 +18,6 @@ body {
1718
.bootstrap-grid {
1819
align-items: flex-start;
1920
box-sizing: border-box;
20-
display: flex;
2121
display: grid;
2222
flex-wrap: wrap;
2323
position: relative; }

0 commit comments

Comments
 (0)