Yuin Chien 6 роки тому
батько
коміт
16c0f73878
3 змінених файлів з 3 додано та 3 видалено
  1. 1 1
      docs/index.html
  2. 1 1
      examples/index.html
  3. 1 1
      files/main.css

+ 1 - 1
docs/index.html

@@ -149,7 +149,7 @@
 					if ( event.button !== 0 || event.ctrlKey || event.altKey || event.metaKey ) return;
 
 					window.location.hash = pageURL;
-					panel.classList.add( 'collapsed' );
+					panel.classList.remove( 'open' );
 
 
 					content.querySelectorAll('a').forEach((item) => {

+ 1 - 1
examples/index.html

@@ -173,7 +173,7 @@
 			window.location.hash = file;
 			viewer.focus();
 
-			panel.classList.add( 'collapsed' );
+			panel.classList.remove( 'open' );
 
 			selected = file;
 

+ 1 - 1
files/main.css

@@ -248,7 +248,7 @@ iframe {
 	}
 	#panel.open #panelScrim {
 		pointer-events: auto;
-		background-color: rgba(0,0,0,0.6);
+		background-color: rgba(0,0,0,0.4);
 	}
 
 	#contentWrapper {