소스 검색

超小屏幕适配

jwyu 1 년 전
부모
커밋
cd4d452c75
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 4
      src/views/chartShow/index.less

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

@@ -146,11 +146,8 @@
 	// 小屏幕
 	@media (max-width: 300px){
 		.chart-show{
-			display: flex;
-			flex-direction: column;
+			overflow-y: auto;
 			.chart-wrapper{
-				flex: 1;
-				height: auto;
 				max-height: none;
 			}
 		}