mirror of
https://github.com/nasa/openmct.git
synced 2025-01-19 03:06:54 +00:00
remove workaround for Imagery Thumbnail resizing from MCTSplitPane and add box sizing to thumbs wrapper to fix phantom resizing
This commit is contained in:
parent
8e8c66280f
commit
7f75e089e8
@ -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,
|
||||||
|
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user