From 97b20715f0de2cfbd67ad67d96ed1ebec10b417e Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 31 Aug 2017 11:15:03 +0300 Subject: [PATCH] [DE] Fix Bug 35750. --- apps/common/main/lib/controller/ReviewChanges.js | 5 ----- apps/common/main/resources/less/toolbar.less | 1 + apps/documenteditor/main/resources/less/toolbar.less | 6 +++--- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/apps/common/main/lib/controller/ReviewChanges.js b/apps/common/main/lib/controller/ReviewChanges.js index d44335201..a40603f12 100644 --- a/apps/common/main/lib/controller/ReviewChanges.js +++ b/apps/common/main/lib/controller/ReviewChanges.js @@ -532,11 +532,6 @@ define([ if (disable) leftMenu.close(); if (this.view) { - var group = this.view.$el.find('.move-changes'); - group.css('position', disable ? 'relative' : 'initial'); - disable && group.find('.toolbar-group-mask').css({ - left: 0, right: 0, top: 0, bottom: 0 - }); this.view.$el.find('.no-group-mask').css('opacity', 1); } }, diff --git a/apps/common/main/resources/less/toolbar.less b/apps/common/main/resources/less/toolbar.less index dc200a5fa..5b02b5eff 100644 --- a/apps/common/main/resources/less/toolbar.less +++ b/apps/common/main/resources/less/toolbar.less @@ -168,6 +168,7 @@ .box-inner-shadow(0 -1px 0 @gray-dark); .group { + position: relative; display: table-cell; vertical-align: middle; white-space: nowrap; diff --git a/apps/documenteditor/main/resources/less/toolbar.less b/apps/documenteditor/main/resources/less/toolbar.less index 3597043d7..171114fe6 100644 --- a/apps/documenteditor/main/resources/less/toolbar.less +++ b/apps/documenteditor/main/resources/less/toolbar.less @@ -43,9 +43,9 @@ .toolbar-group-mask { position: absolute; - top: 32px; - left: 48px; - right: 45px; + top: 0; + left: 0; + right: 0; bottom: 0; opacity: 0; background-color: @gray-light;