Browse Source

图表高度样式优化

jwyu 1 year ago
parent
commit
ad5b07eb5a
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/views/chartShow/index.less

+ 4 - 2
src/views/chartShow/index.less

@@ -24,6 +24,8 @@
 		border: 1px solid rgba(0, 0, 0, 0.125);
 		background: #fff;
 		border-radius: 5px;
+		display: flex;
+		flex-direction: column;
 		.chart-header {
 			background-color: #F2F2F2;
 			border-bottom: 1px solid rgba(0, 0, 0, 0.125);
@@ -120,8 +122,8 @@
 		}
 		.chart-wrapper {
 			width:  calc(100vw - 4px);
-			height: calc(100vh - 100px);
-			max-height: calc(100vw - 100px);
+			// height: calc(100vh - 100px);
+			// max-height: calc(100vw - 100px);
 			padding: 0 0 5px;
 		}
 	}