documentHistory: keeping toolbar fixed at the top
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 18 Jun 2013 08:12:58 +0000 (10:12 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 18 Jun 2013 08:12:58 +0000 (10:12 +0200)
modules/documentHistory/documentHistory.less
modules/rng/diffLayout.less

index 9bf078f..592b22a 100644 (file)
             margin-right: 10px;\r
         }\r
     }\r
+    \r
+    .rng-module-documentHistory-itemsList {\r
+        overflow-y: scroll;\r
+        position: absolute;\r
+        top: 30px;\r
+        bottom: 0;\r
+        left: 0;\r
+        right: 0;\r
+        &::-webkit-scrollbar {\r
+            .rng-mixin-scrollbar;\r
+        }\r
+        &::-webkit-scrollbar-track {\r
+            .rng-mixin-scrollbar-track;\r
+        }\r
+        &::-webkit-scrollbar-thumb {\r
+            .rng-mixin-scrollbar-thumb;\r
+        }\r
+        &::-webkit-scrollbar-thumb:window-inactive {\r
+            .rng-mixin-scrollbar-thumb-window-inactive;\r
+        }\r
+    }\r
 }\r
 \r
index d35c16f..e2018cd 100644 (file)
@@ -7,14 +7,6 @@
     [fnpjs-place=right] {\r
         left: 320px;\r
         right: 0;\r
-\r
-    }\r
-    \r
-    [fnpjs-place=left], [fnpjs-place=right] {\r
-        position: absolute;\r
-        top: 0;\r
-        bottom: 0;\r
-        \r
         overflow-y: scroll;\r
         padding-right: 0;\r
         &::-webkit-scrollbar {\r
             .rng-mixin-scrollbar-thumb-window-inactive;\r
         }\r
     }\r
+    \r
+    [fnpjs-place=left], [fnpjs-place=right] {\r
+        position: absolute;\r
+        top: 0;\r
+        bottom: 0;\r
+        \r
+\r
+    }\r
 \r
 }
\ No newline at end of file