restore margins on thumbnails, add comments about it's changes and how responsive affects it

This commit is contained in:
Mark Otto 2012-04-24 06:45:21 -07:00
parent f9744ff522
commit 5be84ad0b7
6 changed files with 13 additions and 2 deletions

View File

@ -671,6 +671,9 @@
.thumbnails {
margin-left: -30px;
}
.thumbnails > li {
margin-left: 30px;
}
.row-fluid .thumbnails {
margin-left: 0;
}

View File

@ -2549,7 +2549,7 @@ table .span24 {
button.close {
padding: 0;
cursor: pointer;
background-color: transparent;
background: transparent;
border: 0;
-webkit-appearance: none;
}
@ -4449,6 +4449,7 @@ input[type="submit"].btn.btn-mini {
.thumbnails > li {
float: left;
margin-bottom: 18px;
margin-left: 20px;
}
.thumbnail {

View File

@ -23,7 +23,7 @@
button.close {
padding: 0;
cursor: pointer;
background-color: transparent;
background: transparent;
border: 0;
-webkit-appearance: none;
}

View File

@ -16,6 +16,9 @@
.thumbnails {
margin-left: -30px;
}
.thumbnails > li {
margin-left: 30px;
}
.row-fluid .thumbnails {
margin-left: 0;
}

View File

@ -12,4 +12,6 @@
// Input grid
#grid > .input(42px, 20px);
// No need to reset .thumbnails here since it's the same @gridGutterWidth
}

View File

@ -1,5 +1,6 @@
// THUMBNAILS
// ----------
// Note: `.thumbnails` and `.thumbnails > li` are overriden in responsive files
// Make wrapper ul behave like the grid
.thumbnails {
@ -16,6 +17,7 @@
.thumbnails > li {
float: left; // Explicity set the float since we don't require .span* classes
margin-bottom: @baseLineHeight;
margin-left: @gridGutterWidth;
}
// The actual thumbnail (can be `a` or `div`)