remove workaround for Imagery Thumbnail resizing from MCTSplitPane and add box sizing to thumbs wrapper to fix phantom resizing

This commit is contained in:
Deep Tailor 2017-09-11 16:35:14 -07:00
parent 8e8c66280f
commit 7f75e089e8
2 changed files with 1 additions and 5 deletions

View File

@ -23,6 +23,7 @@
top: auto; top: auto;
min-height: $imageThumbsWrapperH; min-height: $imageThumbsWrapperH;
max-height: 60%; max-height: 60%;
box-sizing: border-box;
} }
.l-date, .l-date,

View File

@ -132,11 +132,6 @@ define(
// Get actual size (to obey min-width etc.) // Get actual size (to obey min-width etc.)
firstSize = getSize(first[0]); firstSize = getSize(first[0]);
if (alias === 'mctSplitPane-imagery') {
firstSize = firstSize - 5;
}
first.css(anchor.dimension, firstSize + 'px'); first.css(anchor.dimension, firstSize + 'px');
splitter.css(anchor.edge, firstSize + 'px'); splitter.css(anchor.edge, firstSize + 'px');
splitter.css(anchor.opposite, "auto"); splitter.css(anchor.opposite, "auto");