From b1f2ba1427e27b0a2f2a3b1b9db4f65faf7995eb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Tue, 18 Jun 2013 10:12:58 +0200 Subject: [PATCH] documentHistory: keeping toolbar fixed at the top --- modules/documentHistory/documentHistory.less | 21 ++++++++++++++++++++ modules/rng/diffLayout.less | 16 +++++++-------- 2 files changed, 29 insertions(+), 8 deletions(-) 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 -- 2.20.1