Skip to content

Commit

Permalink
docs: Fix badges after #28458. (#29199)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored Aug 4, 2019
1 parent 7bce809 commit b316235
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions site/content/docs/4.3/components/list-group.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 >}}
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/4.3/examples/checkout/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h2>Checkout form</h2>
<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">
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/4.3/examples/offcanvas/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<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>
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/4.3/utilities/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 >}}
Expand Down
2 changes: 1 addition & 1 deletion site/layouts/shortcodes/list-versions.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h2>{{ $release.group }}</h2>
<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 }}
Expand Down

0 comments on commit b316235

Please sign in to comment.