فهرست منبع

Fix flex links not overflowing correctly and refactor

Alasdair Smith 8 سال پیش
والد
کامیت
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 {
 	.caption {
-        // Override ShareLatex template styles
-        background: none;
-        border: none;
-
+		// Override ShareLatex template styles
+		background: none;
+		border: none;
 		text-align: center;
 		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 */
 	/* Media Queries */