From 02b7d14b039a4e316eafd1c9ec38bcc13d204988 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 13 Apr 2021 14:18:59 +0300 Subject: [PATCH] FIx toc preview --- .../main/resources/less/toolbar.less | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/apps/documenteditor/main/resources/less/toolbar.less b/apps/documenteditor/main/resources/less/toolbar.less index 4e4009863..6500e36ce 100644 --- a/apps/documenteditor/main/resources/less/toolbar.less +++ b/apps/documenteditor/main/resources/less/toolbar.less @@ -44,10 +44,8 @@ > li > a.item-contents { div { - //.background-ximage-v2('toolbar/contents.png', 246px, @commonimage: false); background-color: #fff; width: 248px; - //height: @contents-menu-item-height; .box-shadow(0 0 0 @scaled-one-px-value-ie @border-regular-control-ie); .box-shadow(0 0 0 @scaled-one-px-value @border-regular-control); @@ -57,6 +55,10 @@ .box-shadow(0 0 0 2px @border-control-focus-ie); .box-shadow(0 0 0 @scaled-two-px-value @border-control-focus); } + + canvas { + vertical-align: middle; + } } &:hover, &:focus { @@ -68,18 +70,6 @@ } } } - // - //.loop(@counter) when (@counter > 0) { - // .loop((@counter - 1)); - // li:nth-child(@{counter}) > a.item-contents { - // div { - // @incr-height: (@counter - 1)*@contents-menu-item-height; - // background-position: 0 ~"calc(var(--bckgHOffset) - @{incr-height})"; - // } - // } - //} - - //.loop(2); } // page number position