File tree 2 files changed +8
-3
lines changed
site/content/docs/5.3/components
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 135
135
@include border-bottom-radius (0 );
136
136
}
137
137
138
- > .btn ~ .btn ,
138
+ // The top radius should be 0 if the button is:
139
+ // - the "third or more" child
140
+ // - the second child and the previous element isn't `.btn-check` (making it the first child visually)
141
+ // - part of a btn-group which isn't the first child
142
+ > .btn :nth-child (n + 3 ),
143
+ > :not (.btn-check ) + .btn ,
139
144
> .btn-group :not (:first-child ) > .btn {
140
145
@include border-top-radius (0 );
141
146
}
Original file line number Diff line number Diff line change @@ -195,8 +195,6 @@ Make a set of buttons appear vertically stacked rather than horizontally. **Spli
195
195
196
196
{{< example >}}
197
197
<div class =" btn-group-vertical " role =" group " aria-label =" Vertical button group " >
198
- <button type =" button " class =" btn btn-primary " >Button</button >
199
- <button type =" button " class =" btn btn-primary " >Button</button >
200
198
<div class =" btn-group " role =" group " >
201
199
<button type="button" class="btn btn-primary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
202
200
Dropdown
@@ -206,6 +204,8 @@ Make a set of buttons appear vertically stacked rather than horizontally. **Spli
206
204
<li><a class="dropdown-item" href="#">Dropdown link</a></li>
207
205
</ul>
208
206
</div >
207
+ <button type =" button " class =" btn btn-primary " >Button</button >
208
+ <button type =" button " class =" btn btn-primary " >Button</button >
209
209
<div class =" btn-group dropstart " role =" group " >
210
210
<button type="button" class="btn btn-primary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
211
211
Dropdown
You can’t perform that action at this time.
0 commit comments