From: Aleksander Ɓukasz Date: Tue, 18 Jun 2013 08:12:58 +0000 (+0200) Subject: documentHistory: keeping toolbar fixed at the top X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/b1f2ba1427e27b0a2f2a3b1b9db4f65faf7995eb?ds=inline documentHistory: keeping toolbar fixed at the top --- diff --git a/modules/documentHistory/documentHistory.less b/modules/documentHistory/documentHistory.less index 9bf078f..592b22a 100644 --- a/modules/documentHistory/documentHistory.less +++ b/modules/documentHistory/documentHistory.less @@ -37,5 +37,26 @@ margin-right: 10px; } } + + .rng-module-documentHistory-itemsList { + overflow-y: scroll; + position: absolute; + top: 30px; + bottom: 0; + left: 0; + 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; + } + } } diff --git a/modules/rng/diffLayout.less b/modules/rng/diffLayout.less index d35c16f..e2018cd 100644 --- a/modules/rng/diffLayout.less +++ b/modules/rng/diffLayout.less @@ -7,14 +7,6 @@ [fnpjs-place=right] { left: 320px; right: 0; - - } - - [fnpjs-place=left], [fnpjs-place=right] { - position: absolute; - top: 0; - bottom: 0; - overflow-y: scroll; padding-right: 0; &::-webkit-scrollbar { @@ -30,5 +22,13 @@ .rng-mixin-scrollbar-thumb-window-inactive; } } + + [fnpjs-place=left], [fnpjs-place=right] { + position: absolute; + top: 0; + bottom: 0; + + + } } \ No newline at end of file