Explorar o código

Limit station name to 1 line

Owen Diffey %!s(int64=8) %!d(string=hai) anos
pai
achega
1fba4dad41
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  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 {