Browse Source

sticky swimlane again :)

progressify 4 years ago
parent
commit
a2d298f493
1 changed files with 4 additions and 2 deletions
  1. 4 2
      client/components/swimlanes/swimlanes.styl

+ 4 - 2
client/components/swimlanes/swimlanes.styl

@@ -36,6 +36,10 @@
 // Minimize swimlanes end https://www.w3schools.com/howto/howto_js_accordion.asp
 // Minimize swimlanes end https://www.w3schools.com/howto/howto_js_accordion.asp
 */
 */
 
 
+[class=swimlane]
+  position: sticky
+  left: 0;
+
 .swimlane
 .swimlane
   // Even if this background color is the same as the body we can't leave it
   // Even if this background color is the same as the body we can't leave it
   // transparent, because that won't work during a swimlane drag.
   // transparent, because that won't work during a swimlane drag.
@@ -44,8 +48,6 @@
   flex-direction: row
   flex-direction: row
   overflow: 0;
   overflow: 0;
   max-height: calc(100% - 26px)
   max-height: calc(100% - 26px)
-  position: sticky
-  left: 0;
 
 
   &.placeholder
   &.placeholder
     background-color: rgba(0, 0, 0, .2)
     background-color: rgba(0, 0, 0, .2)