aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2019-08-04 08:23:25 +0300
committerGitHub <[email protected]>2019-08-04 08:23:25 +0300
commitb316235e63de14b959d842f9470acc2e97cbe82a (patch)
tree0360321325d478a42975ef3aee79f14ac42c4e66
parent7bce809a63a37d1395333b179cd83d710c8ebf6f (diff)
downloadbootstrap-b316235e63de14b959d842f9470acc2e97cbe82a.tar.xz
bootstrap-b316235e63de14b959d842f9470acc2e97cbe82a.zip
docs: Fix badges after #28458. (#29199)
-rw-r--r--site/content/docs/4.3/components/list-group.md6
-rw-r--r--site/content/docs/4.3/examples/checkout/index.html2
-rw-r--r--site/content/docs/4.3/examples/offcanvas/index.html2
-rw-r--r--site/content/docs/4.3/utilities/text.md2
-rw-r--r--site/layouts/shortcodes/list-versions.html2
5 files changed, 7 insertions, 7 deletions
diff --git a/site/content/docs/4.3/components/list-group.md b/site/content/docs/4.3/components/list-group.md
index 5ce8c3d3f..032ef37f5 100644
--- a/site/content/docs/4.3/components/list-group.md
+++ b/site/content/docs/4.3/components/list-group.md
@@ -152,15 +152,15 @@ Add badges to any list group item to show unread counts, activity, and more with
<ul class="list-group">
<li class="list-group-item d-flex justify-content-between align-items-center">
Cras justo odio
- <span class="badge badge-primary badge-pill">14</span>
+ <span class="badge bg-primary rounded-pill">14</span>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center">
Dapibus ac facilisis in
- <span class="badge badge-primary badge-pill">2</span>
+ <span class="badge bg-primary rounded-pill">2</span>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center">
Morbi leo risus
- <span class="badge badge-primary badge-pill">1</span>
+ <span class="badge bg-primary rounded-pill">1</span>
</li>
</ul>
{{< /example >}}
diff --git a/site/content/docs/4.3/examples/checkout/index.html b/site/content/docs/4.3/examples/checkout/index.html
index ac67d8a6e..e7865ff6e 100644
--- a/site/content/docs/4.3/examples/checkout/index.html
+++ b/site/content/docs/4.3/examples/checkout/index.html
@@ -19,7 +19,7 @@ body_class: "bg-light"
<div class="col-md-4 order-md-2 mb-4">
<h4 class="d-flex justify-content-between align-items-center mb-3">
<span class="text-muted">Your cart</span>
- <span class="badge badge-secondary badge-pill">3</span>
+ <span class="badge bg-secondary rounded-pill">3</span>
</h4>
<ul class="list-group mb-3">
<li class="list-group-item d-flex justify-content-between lh-condensed">
diff --git a/site/content/docs/4.3/examples/offcanvas/index.html b/site/content/docs/4.3/examples/offcanvas/index.html
index 85a5cf4f7..308a95f1a 100644
--- a/site/content/docs/4.3/examples/offcanvas/index.html
+++ b/site/content/docs/4.3/examples/offcanvas/index.html
@@ -49,7 +49,7 @@ body_class: "bg-light"
<a class="nav-link active" href="#">Dashboard</a>
<a class="nav-link" href="#">
Friends
- <span class="badge badge-pill bg-light align-text-bottom">27</span>
+ <span class="badge bg-light rounded-pill align-text-bottom">27</span>
</a>
<a class="nav-link" href="#">Explore</a>
<a class="nav-link" href="#">Suggestions</a>
diff --git a/site/content/docs/4.3/utilities/text.md b/site/content/docs/4.3/utilities/text.md
index 2cc8390e6..0ea7c75a2 100644
--- a/site/content/docs/4.3/utilities/text.md
+++ b/site/content/docs/4.3/utilities/text.md
@@ -32,7 +32,7 @@ For left, right, and center alignment, responsive classes are available that use
Wrap text with a `.text-wrap` class.
{{< example >}}
-<div class="badge badge-primary text-wrap" style="width: 6rem;">
+<div class="badge bg-primary text-wrap" style="width: 6rem;">
This text should wrap.
</div>
{{< /example >}}
diff --git a/site/layouts/shortcodes/list-versions.html b/site/layouts/shortcodes/list-versions.html
index 5c7f0445a..6ec61b438 100644
--- a/site/layouts/shortcodes/list-versions.html
+++ b/site/layouts/shortcodes/list-versions.html
@@ -10,7 +10,7 @@
<a class="list-group-item list-group-item-action py-2 text-primary{{ if (eq $version.v $.Site.Params.docs_version) }} d-flex justify-content-between align-items-center{{ end }}" href="{{ $release.baseurl }}/{{ $version.v }}/">
{{ $version.v }}
{{ if (eq $version.v $.Site.Params.docs_version) -}}
- <span class="badge badge-primary">Latest</span>
+ <span class="badge bg-primary">Latest</span>
{{- end }}
</a>
{{ if (eq (add $i 1) $len) }}</div>{{ end }}