Project

General

Profile

Bug #9556

Cannot hide widgets with bootstrap5 d-* classes

Added by Egor Pugin 6 months ago. Updated 6 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01/01/2022
Due date:
% Done:

0%

Estimated time:

Description

Hi,

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.

#1

Updated by Egor Pugin 6 months ago

For reference https://stackoverflow.com/questions/47514692/bootstrap-4-list-items-that-have-d-flex-class-do-not-respond-to-hide

I tried to move my widget inside div, but styles are broken with it.

Also available in: Atom PDF