remove 4px margin of cdm.expanded

This commit is contained in:
Andrew Dolgov 2018-12-04 13:40:47 +03:00
parent 8e46857a75
commit f6e287df11
3 changed files with 4 additions and 4 deletions

View File

@ -100,8 +100,8 @@
}
.cdm.expanded {
margin-top : 4px;
margin-bottom : 4px;
/*margin-top : 4px;
margin-bottom : 4px;*/
.collapse, .excerpt {
display : none;

File diff suppressed because one or more lines are too long

View File

@ -234,7 +234,7 @@ define(["dojo/_base/declare"], function (declare) {
e.offsetTop < ctr.scrollTop) {
// expanded cdm has a 4px margin now
ctr.scrollTop = parseInt(e.offsetTop) - 4;
ctr.scrollTop = e.offsetTop;
Element.hide("floatingTitle");
}