Kaynağa Gözat

Remove fixed heights, moving to masonry layout

Alasdair Smith 8 yıl önce
ebeveyn
işleme
bc1a8953a1

+ 1 - 16
services/web/public/stylesheets/app/templates-v2.less

@@ -43,6 +43,7 @@
 		display: flex;
 		justify-content: center;
 		align-items: center;
+		overflow: hidden;
 
 		h3 {
 			color:@link-color;
@@ -52,11 +53,6 @@
 		&.thumbnail-tag {
 			height: 100px;
 		}
-
-		img {
-			max-height: 100%;
-			width: 100%;
-		}
 	}
 
 	.caption {
@@ -70,25 +66,14 @@
 		font-style: italic;
 		padding: 5px 0;
 		.text-overflow();
-
-		a {
-			display: inline;
-		}
 	}
 
 	/* Media Queries */
 	@media (max-width: @screen-md-min) {
 		.thumbnail {
-			height: 400px;
-			width: 300px;
-
 			margin: 5% auto;
 		}
 
-		img {
-			width: 90%;
-		}
-
 		.caption .description {
 			padding: 5px 50px;
 		}