]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Docs: Call out removal of @screen-* variables in v4
authorCraig Martin <craigmichaelmartin@gmail.com>
Fri, 18 Mar 2016 15:46:38 +0000 (11:46 -0400)
committerChris Rebert <code@chrisrebert.com>
Thu, 7 Apr 2016 02:41:57 +0000 (19:41 -0700)
Closes #19561
Closes #19567
[skip sauce]

docs/migration.md

index f4044a39905c8251de790945f757e4c13976cdc5..f40b2c46cd202b4ef8dd1900ace024144e2e7978 100644 (file)
@@ -203,11 +203,11 @@ TODO: audit classes in v3 that aren't present in v4
 
 ### Responsive utilities
 
-The following deprecated variables have been removed in v4.0.0:
+The following variables have been removed in v4.0.0. Use the `media-breakpoint-up()`, `media-breakpoint-down()`, or `media-breakpoint-only()` Sass mixins or the `$grid-breakpoints` Sass map instead of:
 
-* `@screen-phone`, `@screen-tablet`, `@screen-desktop`, `@screen-lg-desktop`. Use the more abstract `$screen-{xs,sm,md,lg,xl}-*` variables instead.
-* `@screen-sm`, `@screen-md`, `@screen-lg`. Use the more clearly named `$screen-{xs,sm,md,lg,xl}-min` variables instead.
-* `@screen-xs`, `@screen-xs-min`. The extra small breakpoint has no lower bound, so these variables were logically absurd. Reformulate your expression in terms of `$screen-xs-max` instead.
+* `@screen-phone`, `@screen-tablet`, `@screen-desktop`, `@screen-lg-desktop`.
+* `@screen-xs`, `@screen-sm`, `@screen-md`, `@screen-lg`.
+* `@screen-xs-min`, `@screen-xs-max`, `@screen-sm-min`, `@screen-sm-max`, `@screen-md-min`, `@screen-md-max`, `@screen-lg-min`, `@screen-lg-max`
 
 The responsive utility classes have also been overhauled.