Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix badges after #28458. #29199

Merged
merged 1 commit into from Aug 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions site/content/docs/4.3/components/list-group.md
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
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
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
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
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