aboutsummaryrefslogtreecommitdiff
path: root/site/content
diff options
context:
space:
mode:
authorAnton Frolov <[email protected]>2024-08-07 08:51:04 +0400
committerGitHub <[email protected]>2024-08-07 06:51:04 +0200
commit4e954ea3322e0a2c6428159108c676428a05d748 (patch)
tree0507fa4a208864b154d56c1b048c6aaadb09e905 /site/content
parent8c10ee828f56a353f035f832fad45bbb596cf7b9 (diff)
downloadbootstrap-4e954ea3322e0a2c6428159108c676428a05d748.tar.xz
bootstrap-4e954ea3322e0a2c6428159108c676428a05d748.zip
Docs: change wording of single/split danger buttons (#40689)
Co-authored-by: Julien Déramond <[email protected]>
Diffstat (limited to 'site/content')
-rw-r--r--site/content/docs/5.3/components/dropdowns.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/content/docs/5.3/components/dropdowns.md b/site/content/docs/5.3/components/dropdowns.md
index 78a6043c2..b9e22e44a 100644
--- a/site/content/docs/5.3/components/dropdowns.md
+++ b/site/content/docs/5.3/components/dropdowns.md
@@ -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>