0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

add min-height: 1px; to .span* classes to prevent grid columns from collapsing

This commit is contained in:
Mark Otto 2012-08-27 15:12:22 -07:00
parent cf9334bd7d
commit 85dcbd0b34
3 changed files with 4 additions and 0 deletions

View File

@ -107,6 +107,7 @@
}
[class*="span"] {
float: left;
min-height: 1px;
margin-left: 30px;
}
.container,
@ -453,6 +454,7 @@
}
[class*="span"] {
float: left;
min-height: 1px;
margin-left: 20px;
}
.container,

View File

@ -215,6 +215,7 @@ a:hover {
[class*="span"] {
float: left;
min-height: 1px;
margin-left: 20px;
}

View File

@ -585,6 +585,7 @@
[class*="span"] {
float: left;
min-height: 1px; // prevent collapsing columns
margin-left: @gridGutterWidth;
}