aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaralan Dobrev <[email protected]>2015-02-02 19:26:30 +0200
committerHaralan Dobrev <[email protected]>2015-02-02 19:26:30 +0200
commitb46dbef3264c87d16dbba3ba89cec3dc72065cac (patch)
tree5207ff24046c15d582b270c12b0387e3c9729aa6
parent33d8fde67cf9db663cc85b3990944109c5dcbe47 (diff)
downloadbootstrap-b46dbef3264c87d16dbba3ba89cec3dc72065cac.tar.xz
bootstrap-b46dbef3264c87d16dbba3ba89cec3dc72065cac.zip
Extract responsive embed nested classes
I think this is the more common coding convention across Bootstrap. Extract nested classes as first-class citizens and assume HTML would use both.
-rw-r--r--less/responsive-embed.less16
1 files changed, 8 insertions, 8 deletions
diff --git a/less/responsive-embed.less b/less/responsive-embed.less
index c1fa8f848..080a5118f 100644
--- a/less/responsive-embed.less
+++ b/less/responsive-embed.less
@@ -22,14 +22,14 @@
width: 100%;
border: 0;
}
+}
- // Modifier class for 16:9 aspect ratio
- &.embed-responsive-16by9 {
- padding-bottom: 56.25%;
- }
+// Modifier class for 16:9 aspect ratio
+.embed-responsive-16by9 {
+ padding-bottom: 56.25%;
+}
- // Modifier class for 4:3 aspect ratio
- &.embed-responsive-4by3 {
- padding-bottom: 75%;
- }
+// Modifier class for 4:3 aspect ratio
+.embed-responsive-4by3 {
+ padding-bottom: 75%;
}