aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2016-06-04 13:25:37 -0700
committerChris Rebert <[email protected]>2016-06-04 13:25:37 -0700
commita5ea86747aa62f1fa9644d37421604bd090742a4 (patch)
tree71e4605a30f95f083da3013c205faa5c35a5c7c6
parent10ce36601d140af4fa9b6be5cc0cd5feaa8bbea3 (diff)
parentde0740b584efbdacf48ec10f3f2f7444f819768b (diff)
downloadbootstrap-a5ea86747aa62f1fa9644d37421604bd090742a4.tar.xz
bootstrap-a5ea86747aa62f1fa9644d37421604bd090742a4.zip
Merge pull request #19109 from twbs/fix-18569
Integrate postcss-flexbugs-fixes into build Refs #18569.
-rw-r--r--Gruntfile.js1
-rw-r--r--docs/getting-started/download.md4
-rw-r--r--docs/getting-started/flexbox.md2
-rw-r--r--grunt/npm-shrinkwrap.json5
-rw-r--r--package.json1
5 files changed, 10 insertions, 3 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index b2f702e4e..b49cdce50 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -212,6 +212,7 @@ module.exports = function (grunt) {
map: true,
processors: [
mq4HoverShim.postprocessorFor({ hoverSelectorPrefix: '.bs-true-hover ' }),
+ require('postcss-flexbugs-fixes')(),
autoprefixer
]
},
diff --git a/docs/getting-started/download.md b/docs/getting-started/download.md
index 1fa524eb5..7ee6fecee 100644
--- a/docs/getting-started/download.md
+++ b/docs/getting-started/download.md
@@ -21,7 +21,7 @@ Download just the compiled and minified CSS and JavaScript. Doesn't include any
<div class="col-sm-6">
{% markdown %}
### Source files
-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).**
+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).**
<a href="{{ site.download.source }}" class="btn btn-bs btn-outline" onclick="ga('send', 'event', 'Getting started', 'Download', 'Download source');">Download source</a>
{% endmarkdown %}
@@ -30,7 +30,7 @@ Download everything: source Sass, JavaScript, and documentation files. **Require
## Package managers
-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.
+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.
{% callout warning %}
**Heads up!** Not all package managers have the v4 alpha published yet, but we should have them up shortly!
diff --git a/docs/getting-started/flexbox.md b/docs/getting-started/flexbox.md
index f8ab4e8ae..9c0f1a876 100644
--- a/docs/getting-started/flexbox.md
+++ b/docs/getting-started/flexbox.md
@@ -19,7 +19,7 @@ Flexbox support is available for a number of Bootstrap's components:
- Input groups, which move from `display: table;` to `display: flex;`.
- The media component moves from `display: table;` and a number of hacky styles to a simple `display: flex;`.
-Vendor prefixes are provided in our compiled CSS with Autoprefixer via Grunt.
+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).
## Why flexbox?
diff --git a/grunt/npm-shrinkwrap.json b/grunt/npm-shrinkwrap.json
index e3b0b1152..500421949 100644
--- a/grunt/npm-shrinkwrap.json
+++ b/grunt/npm-shrinkwrap.json
@@ -2641,6 +2641,11 @@
"from": "postcss@>=5.0.19 <6.0.0",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-5.0.21.tgz"
},
+ "postcss-flexbugs-fixes": {
+ "version": "2.0.0",
+ "from": "postcss-flexbugs-fixes@>=2.0.0 <3.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-flexbugs-fixes/-/postcss-flexbugs-fixes-2.0.0.tgz"
+ },
"postcss-value-parser": {
"version": "3.3.0",
"from": "postcss-value-parser@>=3.2.3 <4.0.0",
diff --git a/package.json b/package.json
index 5afbef629..f8e414148 100644
--- a/package.json
+++ b/package.json
@@ -64,6 +64,7 @@
"is-travis": "^1.0.0",
"load-grunt-tasks": "^3.4.0",
"mq4-hover-shim": "^0.3.0",
+ "postcss-flexbugs-fixes": "^2.0.0",
"shelljs": "^0.6.0",
"time-grunt": "^1.2.1"
},