소스 검색

Changed to mobile panel to responsive size.

Yuin Chien 6 년 전
부모
커밋
1e1effdbc9
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 3
      files/main.css

+ 4 - 3
files/main.css

@@ -253,14 +253,15 @@ iframe {
 		bottom: 0;
 		background: white;
 		box-shadow: 0 0 8px rgba(0,0,0,.1);
-		width: 300px;
+		width: calc(100vw - 60px);
+		max-width: 360px;
 		z-index: 10000;
 		transition: .25s transform;
 		overflow-x: hidden;
-		margin-right: -320px;
+		margin-right: -380px;
 	}
 	#panel.open #contentWrapper {
-		transform: translate3d(-320px, 0 ,0);
+		transform: translate3d(-380px, 0 ,0);
 	}
 
 	iframe {