Updated graph styles
authorThierry Florac <tflorac@ulthar.net>
Fri, 11 Dec 2020 15:28:15 +0100
changeset 35 a1875fea41df
parent 34 70a92e1ca748
child 36 f090c62de817
Updated graph styles
src/myams/resources/less/graphs.less
--- a/src/myams/resources/less/graphs.less	Fri Dec 11 13:49:47 2020 +0100
+++ b/src/myams/resources/less/graphs.less	Fri Dec 11 15:28:15 2020 +0100
@@ -15,19 +15,25 @@
 		}
 	}
 }
+.legend {
+	.legendLayer {
+		width: 100% !important;
+		height: 100% !important;
+	}
+}
 
 .chart-sm {
-	height: 100px;
+	max-height: 100px;
 	width: 100%;
 }
 
 .chart-lg {
-	height: 400px;
+	min-height: 400px;
 	width: 100%;
 }
 
 .chart-xl {
-	height: 600px;
+	min-height: 600px;
 	width: 100%;
 }