Merge pull request #808 from ONLYOFFICE/fix/bugfix

FIx toc preview
This commit is contained in:
Julia Radzhabova 2021-04-13 14:27:13 +03:00 committed by GitHub
commit a23edf5adb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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