added parent height:auto on tree expand to avoid child overlapping

This commit is contained in:
REJack 2019-07-11 14:30:56 +02:00
parent b9efcc0f98
commit 97348104dd
No known key found for this signature in database
GPG key ID: 9F3976CC630CC888
3 changed files with 4 additions and 1 deletions

View file

@ -84,6 +84,7 @@
parent.addClass(ClassName.open);
tree.slideDown(this.options.animationSpeed, function () {
$(this.element).trigger(expandedEvent);
parent.height('auto');
}.bind(this));
};

2
dist/js/adminlte.js vendored
View file

@ -900,6 +900,8 @@ throw new Error('AdminLTE requires jQuery')
parent.addClass(ClassName.open);
tree.slideDown(this.options.animationSpeed, function () {
$(this.element).trigger(expandedEvent);
parent.css('background', 'red').height('auto');
console.log("parent.height('auto');");
}.bind(this));
};

File diff suppressed because one or more lines are too long