documentCanvas: restoring scrollbar position on displaying canvas again
[fnpeditor.git] / modules / diffViewer / diffViewer.less
index db3d8ff..1ab9c32 100644 (file)
@@ -5,10 +5,31 @@
         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-width: 1px 0 1px 1px;\r
         border-style: solid;\r
-        border-color: black;\r
+        border-color: #ddd;\r
         empty-cells: show;\r
         border-spacing: 0px;\r
     }\r
@@ -29,7 +50,7 @@
     .diff_table th {\r
         border-width: 0px 1px 1px 0px;\r
         border-style: solid;\r
-        border-color: black;\r
+        border-color: #ddd;\r
         background: #e5ffe5;\r
     }\r
 \r