Commit 5be84ad0 authored by Mark Otto's avatar Mark Otto

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

parent f9744ff5
...@@ -671,6 +671,9 @@ ...@@ -671,6 +671,9 @@
.thumbnails { .thumbnails {
margin-left: -30px; margin-left: -30px;
} }
.thumbnails > li {
margin-left: 30px;
}
.row-fluid .thumbnails { .row-fluid .thumbnails {
margin-left: 0; margin-left: 0;
} }
......
...@@ -2549,7 +2549,7 @@ table .span24 { ...@@ -2549,7 +2549,7 @@ table .span24 {
button.close { button.close {
padding: 0; padding: 0;
cursor: pointer; cursor: pointer;
background-color: transparent; background: transparent;
border: 0; border: 0;
-webkit-appearance: none; -webkit-appearance: none;
} }
...@@ -4449,6 +4449,7 @@ input[type="submit"].btn.btn-mini { ...@@ -4449,6 +4449,7 @@ input[type="submit"].btn.btn-mini {
.thumbnails > li { .thumbnails > li {
float: left; float: left;
margin-bottom: 18px; margin-bottom: 18px;
margin-left: 20px;
} }
.thumbnail { .thumbnail {
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
button.close { button.close {
padding: 0; padding: 0;
cursor: pointer; cursor: pointer;
background-color: transparent; background: transparent;
border: 0; border: 0;
-webkit-appearance: none; -webkit-appearance: none;
} }
\ No newline at end of file
...@@ -16,6 +16,9 @@ ...@@ -16,6 +16,9 @@
.thumbnails { .thumbnails {
margin-left: -30px; margin-left: -30px;
} }
.thumbnails > li {
margin-left: 30px;
}
.row-fluid .thumbnails { .row-fluid .thumbnails {
margin-left: 0; margin-left: 0;
} }
......
...@@ -12,4 +12,6 @@ ...@@ -12,4 +12,6 @@
// Input grid // Input grid
#grid > .input(42px, 20px); #grid > .input(42px, 20px);
// No need to reset .thumbnails here since it's the same @gridGutterWidth
} }
// THUMBNAILS // THUMBNAILS
// ---------- // ----------
// Note: `.thumbnails` and `.thumbnails > li` are overriden in responsive files
// Make wrapper ul behave like the grid // Make wrapper ul behave like the grid
.thumbnails { .thumbnails {
...@@ -16,6 +17,7 @@ ...@@ -16,6 +17,7 @@
.thumbnails > li { .thumbnails > li {
float: left; // Explicity set the float since we don't require .span* classes float: left; // Explicity set the float since we don't require .span* classes
margin-bottom: @baseLineHeight; margin-bottom: @baseLineHeight;
margin-left: @gridGutterWidth;
} }
// The actual thumbnail (can be `a` or `div`) // The actual thumbnail (can be `a` or `div`)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment