소스 검색

fix(mobile): height of left sidebar from native ios platform

charlie 3 년 전
부모
커밋
2eca2c3c75
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      src/main/frontend/components/sidebar.css

+ 3 - 2
src/main/frontend/components/sidebar.css

@@ -185,9 +185,9 @@
 }
 
 .cp__sidebar-left-layout {
-  width: 0;
-  height: 100vh;
   position: fixed;
+  width: 0;
+  height: calc(100vh - var(--ls-headbar-inner-top-padding));
   top: var(--ls-headbar-inner-top-padding);
   left: 0;
   z-index: 9;
@@ -203,6 +203,7 @@
     z-index: -1;
     opacity: 0;
     transition: opacity .1s;
+    touch-action: none;
   }
 
   &.is-open {