Просмотр исходного кода

Fix flex links not overflowing correctly and refactor

Alasdair Smith 8 лет назад
Родитель
Сommit
630f15e8ea
1 измененных файлов с 11 добавлено и 15 удалено
  1. 11 15
      services/web/public/stylesheets/app/templates-v2.less

+ 11 - 15
services/web/public/stylesheets/app/templates-v2.less

@@ -58,24 +58,20 @@
 	}
 
 	.caption {
-        // Override ShareLatex template styles
-        background: none;
-        border: none;
-
+		// Override ShareLatex template styles
+		background: none;
+		border: none;
 		text-align: center;
-
-		.description {
-			font-style: italic;
-			padding: 5px 0;
-			text-overflow: ellipsis;
-			overflow: hidden;
-			white-space: nowrap;
-		}
-
 	}
 
-	.caption.caption--portals {
-		height: 50px;
+	.caption__description {
+		font-style: italic;
+		padding: 5px 0;
+		.text-overflow();
+
+		a {
+			display: inline;
+		}
 	}
 
 	/* Media Queries */