瀏覽代碼

bugfix: #233 switch sidebar to 100dvh

jamesread 2 年之前
父節點
當前提交
d26c469107
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      webui.dev/style.css

+ 2 - 2
webui.dev/style.css

@@ -69,10 +69,10 @@ nav {
 nav.sidebar {
   position: fixed;
   width: 180px;
-  height: 100vh;
+  height: 100dvh;
   left: 0;
   top: 0;
-  transition: 0.5s ease;
+  transition: left 0.5s ease;
   box-shadow: 0 0 10px 0 #444;
   z-index: 3;
   display: flex;