mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-26 23:04:32 +02:00
Refactor a few selectors. (#24404)
1. move a couple of them before the more specific ones. 2. change nesting to be under the same parent selector 3. use the ampersand more
This commit is contained in:
@@ -119,11 +119,11 @@ fieldset[disabled] a.btn {
|
||||
.btn-block {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
// Vertically space out multiple block buttons
|
||||
.btn-block + .btn-block {
|
||||
margin-top: $btn-block-spacing-y;
|
||||
// Vertically space out multiple block buttons
|
||||
+ .btn-block {
|
||||
margin-top: $btn-block-spacing-y;
|
||||
}
|
||||
}
|
||||
|
||||
// Specificity overrides
|
||||
|
Reference in New Issue
Block a user