Commit a932fa53 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

left panel scrollable is correct height

parent dd61919a
......@@ -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);
}
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment