File tree 2 files changed +8
-3
lines changed 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -205,8 +205,6 @@ Create a set of buttons that appear vertically stacked rather than horizontally.
205
205
{{< example >}}
206
206
<div class =" docs-example " >
207
207
<div class =" btn-group-vertical " role =" group " aria-label =" Vertical button group " >
208
- <button type="button" class="btn btn-primary">Button</button>
209
- <button type="button" class="btn btn-primary">Button</button>
210
208
<div class="btn-group" role="group">
211
209
<button id="btnGroupVerticalDrop1" type="button" class="btn btn-primary dropdown-toggle" data-coreui-toggle="dropdown" aria-expanded="false">
212
210
Dropdown
@@ -216,6 +214,8 @@ Create a set of buttons that appear vertically stacked rather than horizontally.
216
214
<li><a class="dropdown-item" href="#">Dropdown link</a></li>
217
215
</ul>
218
216
</div>
217
+ <button type="button" class="btn btn-primary">Button</button>
218
+ <button type="button" class="btn btn-primary">Button</button>
219
219
<div class="btn-group dropstart" role="group">
220
220
<button id="btnGroupVerticalDrop2" type="button" class="btn btn-primary dropdown-toggle" data-coreui-toggle="dropdown" aria-expanded="false">
221
221
Dropdown
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
}
You can’t perform that action at this time.
0 commit comments