]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Docs: change wording of single/split danger buttons (#40689)
authorAnton Frolov <44741806+2af@users.noreply.github.com>
Wed, 7 Aug 2024 04:51:04 +0000 (08:51 +0400)
committerGitHub <noreply@github.com>
Wed, 7 Aug 2024 04:51:04 +0000 (06:51 +0200)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
site/content/docs/5.3/components/dropdowns.md

index 78a6043c22bade72cf77fa7364c71a02aad34384..b9e22e44a9e6e61fabba3a59cfd8167f375d2424 100644 (file)
@@ -126,7 +126,7 @@ The best part is you can do this with any button variant, too:
 <!-- Example single danger button -->
 <div class="btn-group">
   <button type="button" class="btn btn-danger dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
-    Action
+    Danger
   </button>
   <ul class="dropdown-menu">
     <li><a class="dropdown-item" href="#">Action</a></li>
@@ -228,7 +228,7 @@ We use this extra class to reduce the horizontal `padding` on either side of the
 ```html
 <!-- Example split danger button -->
 <div class="btn-group">
-  <button type="button" class="btn btn-danger">Action</button>
+  <button type="button" class="btn btn-danger">Danger</button>
   <button type="button" class="btn btn-danger dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
     <span class="visually-hidden">Toggle Dropdown</span>
   </button>