Преглед на файлове

make resize button fixed

Yuki Takei преди 5 години
родител
ревизия
3fd2224567
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      src/client/styles/scss/_sidebar.scss

+ 3 - 0
src/client/styles/scss/_sidebar.scss

@@ -24,6 +24,8 @@
   z-index: $zindex-sticky;
 
   .ak-navigation-resize-button {
+    position: fixed;
+
     // locate to the center of screen
     top: calc(50vh - 20px);
 
@@ -77,6 +79,7 @@
     // css-xxx-Outer
     > div:nth-of-type(2) {
       width: 0;
+      transform: unset; // unset for 'position: fixed' of .ak-navigation-resize-button
 
       // css-xxx-Shadow
       > div:first-child {