camunda / camunda-modeler

An integrated modeling solution for BPMN, DMN and Forms based on bpmn.io.
https://camunda.com/products/modeler
MIT License
1.49k stars 479 forks source link

Literal expression editor styles broken #4550

Open philippfromme opened 6 days ago

philippfromme commented 6 days ago

Describe the bug

The styles of the literal expression editor are broken.

5.28

Camunda_Modeler_cUyDlre0ni

5.26

Camunda_Modeler_k6mwsTJHwg

Steps to reproduce

  1. Open literal expression editor
  2. Styles broken

Expected behavior

Styles not broken.

Environment

Additional context

No response

barmac commented 6 days ago

Styles break only after you open a BPMN diagram.

barmac commented 6 days ago

https://github.com/user-attachments/assets/78a8f60e-b3bc-4e87-b62a-b9bfbd343b9a

barmac commented 6 days ago

Reproducible in 5.27: image

barmac commented 6 days ago

I suspect that BPMN styles introduce some CSS reset. Unfortunately, the DMN editor relies on the default user agent styles in multiple places.

barmac commented 6 days ago

Notice that the problem exists in the Web Modeler too: image

nikku commented 19 hours ago

Related to https://github.com/camunda/camunda-modeler/issues/4555.

Moving to ready to discuss.