Skip to content
Snippets Groups Projects
Commit a932fa53 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

left panel scrollable is correct height

parent dd61919a
No related branches found
No related tags found
1 merge request!39Resolve "'Clear' button function incomplete"
......@@ -479,10 +479,12 @@ Panel.prototype.onresize = function() {
if (size !== 100000) {
$(".pre-scrollable", self.getElement()).each(function(index, element) {
$(element).css('max-height', size);
$(element).css('height', size);
});
}
if ($(self.getElement()).hasClass("pre-scrollable") && $(self.getElement()).is(":visible")) {
$(self.getElement()).css('max-height', size);
$(self.getElement()).css('height', size);
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment