Skip to content

Commit

Permalink
Dark mode: Spinner in buttons (#2410)
Browse files Browse the repository at this point in the history
  • Loading branch information
louismaximepiton authored and julien-deramond committed Dec 27, 2023
1 parent 00eaa80 commit 2f45677
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions site/content/docs/5.3/components/spinners.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,22 +160,22 @@ Use spinners within buttons to indicate an action is currently processing or tak

{{< example >}}
<button class="btn btn-primary" type="button" disabled>
<span class="spinner-border spinner-border-sm" aria-hidden="true" data-bs-theme="dark"></span>
<span class="spinner-border spinner-border-sm" aria-hidden="true"></span>
<span class="visually-hidden" role="status">Loading...</span>
</button>
<button class="btn btn-primary" type="button" disabled>
<span class="spinner-border spinner-border-sm me-2" aria-hidden="true" data-bs-theme="dark"></span>
<span class="spinner-border spinner-border-sm me-2" aria-hidden="true"></span>
<span role="status">Loading...</span>
</button>
{{< /example >}}

{{< example >}}
<button class="btn btn-primary" type="button" disabled>
<span class="spinner-grow spinner-grow-sm" aria-hidden="true" data-bs-theme="dark"></span>
<span class="spinner-grow spinner-grow-sm" aria-hidden="true"></span>
<span class="visually-hidden" role="status">Loading...</span>
</button>
<button class="btn btn-primary" type="button" disabled>
<span class="spinner-grow spinner-grow-sm me-2" aria-hidden="true" data-bs-theme="dark"></span>
<span class="spinner-grow spinner-grow-sm me-2" aria-hidden="true"></span>
<span role="status">Loading...</span>
</button>
{{< /example >}}
Expand Down

0 comments on commit 2f45677

Please sign in to comment.