File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 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.
205205{{< example >}}
206206<div class =" docs-example " >
207207 <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>
210208 <div class="btn-group" role="group">
211209 <button id="btnGroupVerticalDrop1" type="button" class="btn btn-primary dropdown-toggle" data-coreui-toggle="dropdown" aria-expanded="false">
212210 Dropdown
@@ -216,6 +214,8 @@ Create a set of buttons that appear vertically stacked rather than horizontally.
216214 <li><a class="dropdown-item" href="#">Dropdown link</a></li>
217215 </ul>
218216 </div>
217+ <button type="button" class="btn btn-primary">Button</button>
218+ <button type="button" class="btn btn-primary">Button</button>
219219 <div class="btn-group dropstart" role="group">
220220 <button id="btnGroupVerticalDrop2" type="button" class="btn btn-primary dropdown-toggle" data-coreui-toggle="dropdown" aria-expanded="false">
221221 Dropdown
Original file line number Diff line number Diff line change 135135 @include border-bottom-radius (0 );
136136 }
137137
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 ,
139144 > .btn-group :not (:first-child ) > .btn {
140145 @include border-top-radius (0 );
141146 }
You can’t perform that action at this time.
0 commit comments