Forráskód Böngészése

图表适配超小屏幕情况

jwyu 1 éve
szülő
commit
e8d7e806b9
1 módosított fájl, 12 hozzáadás és 0 törlés
  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;
+			}
+		}
 	}