1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-20 04:11:39 +02:00

Fixes #10483 and #10357: Make .container mixin-friendly by moving the width declarations within one class

This commit is contained in:
Mark Otto
2013-11-28 14:22:31 -08:00
parent c13524e7e0
commit 9d939080e6
3 changed files with 29 additions and 22 deletions

View File

@@ -807,6 +807,24 @@ pre code {
clear: both;
}
@media (min-width: 768px) {
.container {
width: 750px;
}
}
@media (min-width: 992px) {
.container {
width: 970px;
}
}
@media (min-width: 1200px) {
.container {
width: 1170px;
}
}
.row {
margin-right: -15px;
margin-left: -15px;
@@ -1105,9 +1123,6 @@ pre code {
}
@media (min-width: 768px) {
.container {
width: 750px;
}
.col-sm-1,
.col-sm-2,
.col-sm-3,
@@ -1277,9 +1292,6 @@ pre code {
}
@media (min-width: 992px) {
.container {
width: 970px;
}
.col-md-1,
.col-md-2,
.col-md-3,
@@ -1449,9 +1461,6 @@ pre code {
}
@media (min-width: 1200px) {
.container {
width: 1170px;
}
.col-lg-1,
.col-lg-2,
.col-lg-3,

File diff suppressed because one or more lines are too long