From: Jeroen van Warmerdam Date: Sat, 19 Aug 2017 09:19:33 +0000 (+0200) Subject: Carousel prev/next controls are renamed accordingly (#23561) X-Git-Tag: v4.0.0-beta.2~353 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5db28d1832a233147ddc5d25cf636f4c8c3a892;p=thirdparty%2Fbootstrap.git Carousel prev/next controls are renamed accordingly (#23561) --- diff --git a/docs/4.0/migration.md b/docs/4.0/migration.md index 08a3008fe7..bfb75a08b7 100644 --- a/docs/4.0/migration.md +++ b/docs/4.0/migration.md @@ -212,7 +212,7 @@ Dropped entirely for the new card component. - All CSS has been un-nested and renamed, ensuring each class is prefixed with `.carousel-`. - For carousel items, `.next`, `.prev`, `.left`, and `.right` are now `.carousel-item-next`, `.carousel-item-prev`, `.carousel-item-left`, and `.carousel-item-right`. - `.item` is also now `.carousel-item`. - - For prev/next controls, `.carousel-control.right` and `.carousel-control.left` are now `.carousel-control-right` and `.carousel-control-left`, meaning they no longer require a specific base class. + - For prev/next controls, `.carousel-control.right` and `.carousel-control.left` are now `.carousel-control-next` and `.carousel-control-prev`, meaning they no longer require a specific base class. - Removed all responsive styling, deferring to utilities (e.g., showing captions on certain viewports) and custom styles as needed. - Removed image overrides for images in carousel items, deferring to utilities. - Tweaked the Carousel example to include the new markup and styles.