Sfoglia il codice sorgente

图表适配超小屏幕情况

jwyu 1 anno fa
parent
commit
e8d7e806b9
1 ha cambiato i file con 12 aggiunte e 0 eliminazioni
  1. 12 0
      src/views/chartShow/index.less

+ 12 - 0
src/views/chartShow/index.less

@@ -142,4 +142,16 @@
 		.chart-show .notfound {
 			font-size: 14px;
 		}
+	}
+	// 小屏幕
+	@media (max-width: 300px){
+		.chart-show{
+			display: flex;
+			flex-direction: column;
+			.chart-wrapper{
+				flex: 1;
+				height: auto;
+				max-height: none;
+			}
+		}
 	}