aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2015-08-22 13:27:08 -0700
committerChris Rebert <[email protected]>2015-08-22 13:27:08 -0700
commit5bc6990be2abc4b0c8b1495db83683e5462a64c4 (patch)
treed8110498d87bdce5ac1273e20cfd560aed4831bc
parent0b585b2ffe8ebd1a64b4a0154c338cc5bda03e66 (diff)
parent2965adfea0071e05c92ca07450f473ea62714403 (diff)
downloadbootstrap-5bc6990be2abc4b0c8b1495db83683e5462a64c4.tar.xz
bootstrap-5bc6990be2abc4b0c8b1495db83683e5462a64c4.zip
Merge pull request #17236 from vsn4ik/remove_outdated_btn_group_xs
Remove outdated btn-xs and btn-group-xs
-rw-r--r--docs/components/button-group.md7
-rw-r--r--docs/examples/offcanvas/index.html2
-rw-r--r--docs/migration.md8
3 files changed, 9 insertions, 8 deletions
diff --git a/docs/components/button-group.md b/docs/components/button-group.md
index 5f7886303..c14d3d63a 100644
--- a/docs/components/button-group.md
+++ b/docs/components/button-group.md
@@ -68,19 +68,12 @@ Instead of applying button sizing classes to every button in a group, just add `
<button type="button" class="btn btn-secondary">Middle</button>
<button type="button" class="btn btn-secondary">Right</button>
</div>
- <br>
- <div class="btn-group btn-group-xs" role="group" aria-label="Extra small button group">
- <button type="button" class="btn btn-secondary">Left</button>
- <button type="button" class="btn btn-secondary">Middle</button>
- <button type="button" class="btn btn-secondary">Right</button>
- </div>
</div>
{% highlight html %}
<div class="btn-group btn-group-lg" role="group" aria-label="...">...</div>
<div class="btn-group" role="group" aria-label="...">...</div>
<div class="btn-group btn-group-sm" role="group" aria-label="...">...</div>
-<div class="btn-group btn-group-xs" role="group" aria-label="...">...</div>
{% endhighlight %}
## Nesting
diff --git a/docs/examples/offcanvas/index.html b/docs/examples/offcanvas/index.html
index 5e963d0be..115562ae8 100644
--- a/docs/examples/offcanvas/index.html
+++ b/docs/examples/offcanvas/index.html
@@ -49,7 +49,7 @@
<div class="col-xs-12 col-sm-9">
<p class="pull-right visible-xs">
- <button type="button" class="btn btn-primary btn-xs" data-toggle="offcanvas">Toggle nav</button>
+ <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Toggle nav</button>
</p>
<div class="jumbotron">
<h1>Hello, world!</h1>
diff --git a/docs/migration.md b/docs/migration.md
index bd8ee7529..d1c58c94f 100644
--- a/docs/migration.md
+++ b/docs/migration.md
@@ -77,6 +77,14 @@ New to Bootstrap 4 is the Reboot, a new stylesheet that builds on Normalize with
- Added a new `~480px` grid breakpoint, meaning there are now five total tiers.
+### Buttons
+
+- Dropped the `.btn-xs` class entirely.
+
+### Button group
+
+- Dropped the `.btn-group-xs` class entirely.
+
### Navs
- Dropped nearly all `>` selectors for simpler styling via un-nested classes.