Fix broken layouts in old browsers that lack flexbox support.

Very old browsers (in particular, Firefox 16 and iOS 8.4 Safari) don't
support flexbox without prefixes, which breaks sidebar and comment
layouts. Extend the browserlist config so that autoprefixer generates
flexbox prefixes for these browsers.
This commit is contained in:
evazion
2019-09-30 16:33:58 -05:00
parent 83538b8105
commit f6d63b6843

View File

@@ -22,6 +22,10 @@
"eslint-plugin-ignore-erb": "^0.1.1",
"webpack-dev-server": "^3.8.0"
},
"browserslist": [
"defaults",
"since 2012"
],
"scripts": {
"lint": "yarn run eslint --plugin eslint-plugin-ignore-erb --ext .js,.js.erb app/javascript/src/javascripts"
}