mirror of https://github.com/ColorlibHQ/AdminLTE
added parent height:auto on tree expand to avoid child overlapping
parent
b9efcc0f98
commit
97348104dd
|
@ -84,6 +84,7 @@
|
|||
parent.addClass(ClassName.open);
|
||||
tree.slideDown(this.options.animationSpeed, function () {
|
||||
$(this.element).trigger(expandedEvent);
|
||||
parent.height('auto');
|
||||
}.bind(this));
|
||||
};
|
||||
|
||||
|
|
|
@ -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
Loading…
Reference in New Issue