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
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