From: Aleksander Ɓukasz Date: Tue, 18 Jun 2013 08:20:44 +0000 (+0200) Subject: ddiffViewer: scrolling diff table but not tabs X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/c07709a9bea2d753c56a45079cf839da0281e724 ddiffViewer: scrolling diff table but not tabs --- diff --git a/modules/diffViewer/diffViewer.less b/modules/diffViewer/diffViewer.less index db3d8ff..9f97ea3 100644 --- a/modules/diffViewer/diffViewer.less +++ b/modules/diffViewer/diffViewer.less @@ -5,6 +5,27 @@ padding: 4px 6px; } + .tab-content { + position: absolute; + top:0; + bottom:0; + left:0; + right:60px; + overflow-y: scroll; + &::-webkit-scrollbar { + .rng-mixin-scrollbar; + } + &::-webkit-scrollbar-track { + .rng-mixin-scrollbar-track; + } + &::-webkit-scrollbar-thumb { + .rng-mixin-scrollbar-thumb; + } + &::-webkit-scrollbar-thumb:window-inactive { + .rng-mixin-scrollbar-thumb-window-inactive; + } + } + .diff_table { border-width: 1px; border-style: solid; diff --git a/modules/rng/diffLayout.less b/modules/rng/diffLayout.less index e2018cd..cd03dcd 100644 --- a/modules/rng/diffLayout.less +++ b/modules/rng/diffLayout.less @@ -7,20 +7,6 @@ [fnpjs-place=right] { left: 320px; right: 0; - overflow-y: scroll; - padding-right: 0; - &::-webkit-scrollbar { - .rng-mixin-scrollbar; - } - &::-webkit-scrollbar-track { - .rng-mixin-scrollbar-track; - } - &::-webkit-scrollbar-thumb { - .rng-mixin-scrollbar-thumb; - } - &::-webkit-scrollbar-thumb:window-inactive { - .rng-mixin-scrollbar-thumb-window-inactive; - } } [fnpjs-place=left], [fnpjs-place=right] {