1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-03 02:13:01 +02:00

Refactor a few selectors so that the least specific ones are first. (#24310)

This commit is contained in:
XhmikosR
2017-10-10 16:46:43 +03:00
committed by GitHub
parent 8e7ba02c5c
commit f7acb278e2
3 changed files with 23 additions and 23 deletions

View File

@@ -213,6 +213,10 @@
}
}
&:only-child {
@include border-radius($card-border-radius);
}
&:not(:first-child):not(:last-child):not(:only-child) {
border-radius: 0;
@@ -221,10 +225,6 @@
border-radius: 0;
}
}
&:only-child {
@include border-radius($card-border-radius);
}
}
}
}