mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
Separate span12 and container classes
If you have less than 12 columns, container is too wide. Instead generate container width using the @gridColumns variable. Also remove duplicate container width property.
This commit is contained in:
Binary file not shown.
+8
-2
@@ -161,7 +161,10 @@
|
||||
.span11 {
|
||||
width: 662px;
|
||||
}
|
||||
.span12, .container {
|
||||
.span12 {
|
||||
width: 724px;
|
||||
}
|
||||
.container {
|
||||
width: 724px;
|
||||
}
|
||||
.offset1 {
|
||||
@@ -447,7 +450,10 @@
|
||||
.span11 {
|
||||
width: 1070px;
|
||||
}
|
||||
.span12, .container {
|
||||
.span12 {
|
||||
width: 1170px;
|
||||
}
|
||||
.container {
|
||||
width: 1170px;
|
||||
}
|
||||
.offset1 {
|
||||
|
||||
Vendored
+4
-2
@@ -168,7 +168,10 @@ a:hover {
|
||||
.span11 {
|
||||
width: 860px;
|
||||
}
|
||||
.span12, .container {
|
||||
.span12 {
|
||||
width: 940px;
|
||||
}
|
||||
.container {
|
||||
width: 940px;
|
||||
}
|
||||
.offset1 {
|
||||
@@ -259,7 +262,6 @@ a:hover {
|
||||
width: 99.99999998999999%;
|
||||
}
|
||||
.container {
|
||||
width: 940px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
*zoom: 1;
|
||||
|
||||
Reference in New Issue
Block a user