Переглянути джерело

Limit station name to 1 line

Owen Diffey 8 роки тому
батько
коміт
1fba4dad41
1 змінених файлів з 8 додано та 0 видалено
  1. 8 0
      frontend/components/pages/Home.vue

+ 8 - 0
frontend/components/pages/Home.vue

@@ -330,6 +330,14 @@
 	.displayName {
 		word-wrap: break-word;
     	width: 80%;
+		word-wrap: break-word;
+	    overflow: hidden;
+	    text-overflow: ellipsis;
+	    display: -webkit-box;
+	    -webkit-box-orient: vertical;
+	    -webkit-line-clamp: 1;
+	    line-height: 30px;
+	    max-height: 30px;
 	}
 
 	.nightMode {