Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Nested Maximized Cards - min/max icons are replaced also in children cards #5428

Open
edallocco opened this issue Nov 29, 2023 · 0 comments
Labels

Comments

@edallocco
Copy link

If you use nested cards everyone with maximize widget, when you maximize the parent card, also the widget-icon of the children get replace.

screen1
screen2

The aspected behaviour is the icon to be linked to this card only; to obtain that i've change adminlte.js at line 281
from
this._parent.find(this._settings.maximizeTrigger + " ." + this._settings.maximizeIcon).addClass(this._settings.minimizeIcon).removeClass(this._settings.maximizeIcon);
to
this._parent.find(this._settings.maximizeTrigger + " ." + this._settings.maximizeIcon).first().addClass(this._settings.minimizeIcon).removeClass(this._settings.maximizeIcon);

and the result is:

screen3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant