ddiffViewer: scrolling diff table but not tabs
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 18 Jun 2013 08:20:44 +0000 (10:20 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 18 Jun 2013 08:20:44 +0000 (10:20 +0200)
modules/diffViewer/diffViewer.less
modules/rng/diffLayout.less

index db3d8ff..9f97ea3 100644 (file)
@@ -5,6 +5,27 @@
         padding: 4px 6px;\r
     }\r
     \r
         padding: 4px 6px;\r
     }\r
     \r
+    .tab-content {\r
+        position: absolute;\r
+        top:0;\r
+        bottom:0;\r
+        left:0;\r
+        right:60px;\r
+        overflow-y: scroll;\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
     .diff_table {\r
         border-width: 1px;\r
         border-style: solid;\r
     .diff_table {\r
         border-width: 1px;\r
         border-style: solid;\r
index e2018cd..cd03dcd 100644 (file)
@@ -7,20 +7,6 @@
     [fnpjs-place=right] {\r
         left: 320px;\r
         right: 0;\r
     [fnpjs-place=right] {\r
         left: 320px;\r
         right: 0;\r
-        overflow-y: scroll;\r
-        padding-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
     [fnpjs-place=left], [fnpjs-place=right] {\r
     }\r
     \r
     [fnpjs-place=left], [fnpjs-place=right] {\r