2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

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
+1 -1
View File
@@ -23,7 +23,7 @@
button.close {
padding: 0;
cursor: pointer;
background-color: transparent;
background: transparent;
border: 0;
-webkit-appearance: none;
}
+3
View File
@@ -16,6 +16,9 @@
.thumbnails {
margin-left: -30px;
}
.thumbnails > li {
margin-left: 30px;
}
.row-fluid .thumbnails {
margin-left: 0;
}
+2
View File
@@ -12,4 +12,6 @@
// Input grid
#grid > .input(42px, 20px);
// No need to reset .thumbnails here since it's the same @gridGutterWidth
}
+2
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`)