Przeglądaj źródła

bugfix: #233 switch sidebar to 100dvh (#234)

James Read 2 lat temu
rodzic
commit
843121f5fd
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      webui.dev/style.css

+ 2 - 2
webui.dev/style.css

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