From: Mark Otto Date: Sun, 31 Dec 2017 00:38:09 +0000 (-0800) Subject: Mention -file-text change in Migration docs (#25144) X-Git-Tag: v4.0.0~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc942ce310bafbe5f52708f6e80ca00b3b700bc5;p=thirdparty%2Fbootstrap.git Mention -file-text change in Migration docs (#25144) Fixes #25127. --- diff --git a/docs/4.0/migration.md b/docs/4.0/migration.md index 39b7dfa168..0ec2773c45 100644 --- a/docs/4.0/migration.md +++ b/docs/4.0/migration.md @@ -27,6 +27,8 @@ While Beta 2 saw the bulk of our breaking changes during the beta phase, but we - Removed `.col-form-legend` in favor of a slightly improved `.col-form-label`. This way `.col-form-label-sm` and `.col-form-label-lg` can be used on `` elements with ease. +- Custom file inputs received a change to their `$custom-file-text` Sass variable. It's no longer a nested Sass map and now only powers one string—the `Browse` button as that is now the only pseudo-element generated from our Sass. The `Choose file` text now comes from the `.custom-file-label`. + ### Input groups - Input group addons are now specific to their placement relative to an input. We've dropped `.input-group-addon` and `.input-group-btn` for two new classes, `.input-group-prepend` and `.input-group-append`. You must explicitly use an append or a prepend now, simplifying much of our CSS.