Cannot hide widgets with bootstrap5 d-* classes
I'm using WStackedWidget with d-flex widgets.
All of bootstrap5 display (d-*) classes set them as !important (e.g. display: flex!important).
This property is not overwritten when hiding widget (simple display: none).
Possible solution is to move widget inside another WContainerWidget (div), but this in theory can break bootstrap5 grid somehow.
Updated by Egor Pugin about 1 year ago
I tried to move my widget inside div, but styles are broken with it.