Skip to content

Commit 4e954ea

Browse files
2afjulien-deramond
andauthored
Docs: change wording of single/split danger buttons (twbs#40689)
Co-authored-by: Julien Déramond <[email protected]>
1 parent 8c10ee8 commit 4e954ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/content/docs/5.3/components/dropdowns.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ The best part is you can do this with any button variant, too:
126126
<!-- Example single danger button -->
127127
<div class="btn-group">
128128
<button type="button" class="btn btn-danger dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
129-
Action
129+
Danger
130130
</button>
131131
<ul class="dropdown-menu">
132132
<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
228228
```html
229229
<!-- Example split danger button -->
230230
<div class="btn-group">
231-
<button type="button" class="btn btn-danger">Action</button>
231+
<button type="button" class="btn btn-danger">Danger</button>
232232
<button type="button" class="btn btn-danger dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
233233
<span class="visually-hidden">Toggle Dropdown</span>
234234
</button>

0 commit comments

Comments
 (0)