From e0bf6d87cbcc645bd2c0d28b707815f3d67d72b7 Mon Sep 17 00:00:00 2001 From: alberto Date: Wed, 7 Oct 2015 23:35:37 +0200 Subject: fixes #17781: Add migration docs note that .control-label is gone in v4 --- docs/migration.md | 1 + 1 file changed, 1 insertion(+) (limited to 'docs') diff --git a/docs/migration.md b/docs/migration.md index aa9aa114a..6d8bdc611 100644 --- a/docs/migration.md +++ b/docs/migration.md @@ -70,6 +70,7 @@ New to Bootstrap 4 is the Reboot, a new stylesheet that builds on Normalize with ### Forms - Moved element resets to the `_reboot.scss` file. +- Renamed `.control-label` to `.form-control-label`. - Renamed `.input-lg` and `.input-sm` to `.form-control-lg` and `.form-control-sm`, respectively. - Dropped `.form-group-*` classes for simplicity's sake. Use `.form-control-*` classes instead now. - Horizontal forms overhauled: -- cgit v1.2.3 From 2cc81a19e00f45cac03ca99345088b045a38730b Mon Sep 17 00:00:00 2001 From: Risan Bagja Pradana Date: Sat, 17 Oct 2015 06:35:27 +0200 Subject: [V4] Fixes #17953: Add migration docs of .btn-default removal V4 Docs - Updates to migration docs to pointed out the removal of .btn-default class and an addition of the new .btn-secondary class. --- docs/migration.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') diff --git a/docs/migration.md b/docs/migration.md index 70a52595c..da6a114d0 100644 --- a/docs/migration.md +++ b/docs/migration.md @@ -29,6 +29,7 @@ Here are the big ticket items you'll want to be aware of when moving from v3 to ### Components +- Dropped button `.btn-default` class. - Dropped panels, thumbnails, and wells for a new all-encompassing component, cards. - Dropped the Glyphicons icon font. If you need icons, some options are: - the upstream version of [Glyphicons](http://glyphicons.com/) @@ -80,6 +81,10 @@ New to Bootstrap 4 is the Reboot, a new stylesheet that builds on Normalize with - `.form-group` no longer mixins the `.row` class, so it's now required for grid layouts. - Added new `.form-control-label` class to vertically center labels with `.form-control`s. +### Buttons + +- Dropped the `.btn-default` class and additionaly add a new button class named `.btn-secondary`. + ### Grid system - Added a new `~480px` grid breakpoint, meaning there are now five total tiers. -- cgit v1.2.3 From 081d5f9d7ca71244b98f6f516327a06d93fa3a63 Mon Sep 17 00:00:00 2001 From: Risan Bagja Pradana Date: Sat, 17 Oct 2015 07:00:17 +0200 Subject: [V4] Fixes #17953: Update migration docs of .btn-default replacement [V4 Docs] Update migration docs to point out the .btn-default replacement. --- docs/migration.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/migration.md b/docs/migration.md index da6a114d0..c79f0e218 100644 --- a/docs/migration.md +++ b/docs/migration.md @@ -29,7 +29,6 @@ Here are the big ticket items you'll want to be aware of when moving from v3 to ### Components -- Dropped button `.btn-default` class. - Dropped panels, thumbnails, and wells for a new all-encompassing component, cards. - Dropped the Glyphicons icon font. If you need icons, some options are: - the upstream version of [Glyphicons](http://glyphicons.com/) @@ -83,7 +82,7 @@ New to Bootstrap 4 is the Reboot, a new stylesheet that builds on Normalize with ### Buttons -- Dropped the `.btn-default` class and additionaly add a new button class named `.btn-secondary`. +- Renamed `.btn-default` to `.btn-secondary`. ### Grid system -- cgit v1.2.3 From 6c42c6dfa4d7ba59ba407eb29611620d07918eb4 Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Fri, 13 Nov 2015 16:16:17 +0000 Subject: Add shrink-to-fit to responsive meta section --- docs/getting-started/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/getting-started/introduction.md b/docs/getting-started/introduction.md index 845d3c97c..6e9162c89 100644 --- a/docs/getting-started/introduction.md +++ b/docs/getting-started/introduction.md @@ -87,7 +87,7 @@ Bootstrap requires the use of the HTML5 doctype. Without it, you'll see some fun Bootstrap is developed *mobile first*, a strategy in which we optimize code for mobile devices first and then scale up components as necessary using CSS media queries. To ensure proper rendering and touch zooming for all devices, **add the responsive viewport meta tag** to your ``. {% highlight html %} - + {% endhighlight %} You can see an example of this in action in the [starter template](#starter-template). -- cgit v1.2.3 From 0d34169e1f1126c0e752694905c037278402e0c8 Mon Sep 17 00:00:00 2001 From: Bass Jobsen Date: Mon, 2 Nov 2015 20:56:24 +0100 Subject: Refactor figure image styles to use CSS class instead of child selector Refactoring according the comments on https://github.com/twbs/bootstrap/pull/18104. Closes #18131 --- docs/content/figures.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/content/figures.md b/docs/content/figures.md index d8e2435fe..7b3df8bd1 100644 --- a/docs/content/figures.md +++ b/docs/content/figures.md @@ -6,11 +6,11 @@ group: content Anytime you need to display a piece of content—like an image—with an optional caption, consider using a `
`. -Use the included `.figure` and `.figure-caption` classes to provide some baseline styles for the HTML5 `
` and `
` elements. As a bonus, immediate children images are automatically responsive. +Use the included `.figure` , `.figure-img` and `.figure-caption` classes to provide some baseline styles for the HTML5 `
` and `
` elements. Images in figures have no explicit size, so be sure to add the `.img-fluid` class to your `` to make it responsive. {% example html %}
- A generic square placeholder image with rounded corners in a figure. + A generic square placeholder image with rounded corners in a figure.
A caption for the above image.
{% endexample %} @@ -19,7 +19,7 @@ Aligning the figure's caption is easy with our [text utilities]({{ site.baseurl {% example html %}
- A generic square placeholder image with rounded corners in a figure. + A generic square placeholder image with rounded corners in a figure.
A caption for the above image.
{% endexample %} -- cgit v1.2.3