Skip to content

Commit a5ea867

Browse files
committed
Merge pull request #19109 from twbs/fix-18569
Integrate postcss-flexbugs-fixes into build Refs #18569.
2 parents 10ce366 + de0740b commit a5ea867

File tree

5 files changed

+10
-3
lines changed

5 files changed

+10
-3
lines changed

Gruntfile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ module.exports = function (grunt) {
212212
map: true,
213213
processors: [
214214
mq4HoverShim.postprocessorFor({ hoverSelectorPrefix: '.bs-true-hover ' }),
215+
require('postcss-flexbugs-fixes')(),
215216
autoprefixer
216217
]
217218
},

docs/getting-started/download.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Download just the compiled and minified CSS and JavaScript. Doesn't include any
2121
<div class="col-sm-6">
2222
{% markdown %}
2323
### Source files
24-
Download everything: source Sass, JavaScript, and documentation files. **Requires a Sass compiler, [Autoprefixer](https://github.com/postcss/autoprefixer), and [some setup]({{ site.baseurl }}/getting-started/build-tools/#tooling-setup).**
24+
Download everything: source Sass, JavaScript, and documentation files. **Requires a Sass compiler, [Autoprefixer](https://github.com/postcss/autoprefixer), [postcss-flexbugs-fixes](https://github.com/luisrudge/postcss-flexbugs-fixes), and [some setup]({{ site.baseurl }}/getting-started/build-tools/#tooling-setup).**
2525

2626
<a href="{{ site.download.source }}" class="btn btn-bs btn-outline" onclick="ga('send', 'event', 'Getting started', 'Download', 'Download source');">Download source</a>
2727
{% endmarkdown %}
@@ -30,7 +30,7 @@ Download everything: source Sass, JavaScript, and documentation files. **Require
3030

3131
## Package managers
3232

33-
Pull in Bootstrap's **source files** into nearly any project with some of the most popular package managers. No matter the package manager, Bootstrap will **require a Sass compiler and [Autoprefixer](https://github.com/postcss/autoprefixer)** for a setup that matches our official compiled versions.
33+
Pull in Bootstrap's **source files** into nearly any project with some of the most popular package managers. No matter the package manager, Bootstrap will **require a Sass compiler, [Autoprefixer](https://github.com/postcss/autoprefixer), and [postcss-flexbugs-fixes](https://github.com/luisrudge/postcss-flexbugs-fixes)** for a setup that matches our official compiled versions.
3434

3535
{% callout warning %}
3636
**Heads up!** Not all package managers have the v4 alpha published yet, but we should have them up shortly!

docs/getting-started/flexbox.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Flexbox support is available for a number of Bootstrap's components:
1919
- Input groups, which move from `display: table;` to `display: flex;`.
2020
- The media component moves from `display: table;` and a number of hacky styles to a simple `display: flex;`.
2121

22-
Vendor prefixes are provided in our compiled CSS with Autoprefixer via Grunt.
22+
Vendor prefixes are provided in our compiled CSS with [Autoprefixer](https://github.com/postcss/autoprefixer) via Grunt. Some bugs in IE10-11's Flexbox implementation are worked around via [postcss-flexbugs-fixes](https://github.com/luisrudge/postcss-flexbugs-fixes).
2323

2424
## Why flexbox?
2525

grunt/npm-shrinkwrap.json

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
"is-travis": "^1.0.0",
6565
"load-grunt-tasks": "^3.4.0",
6666
"mq4-hover-shim": "^0.3.0",
67+
"postcss-flexbugs-fixes": "^2.0.0",
6768
"shelljs": "^0.6.0",
6869
"time-grunt": "^1.2.1"
6970
},

0 commit comments

Comments
 (0)