camunda/camunda-modeler

Literal expression editor styles broken

Closed this issue · 9 comments

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

  • Camunda Modeler Version: 5.28-rc.1

Additional context

No response

Styles break only after you open a BPMN diagram.

Screen.Recording.2024-09-25.at.11.14.57.mov

Reproducible in 5.27:
image

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

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

Related to #4555.

Moving to ready to discuss.

The reason is the carbon style, as I described in my comment to a pull request that closes a similar issue on welcome page.

I created an issue where we can discuss it and a PR with a hotfix.

bpmn-io/variable-outline#4

Fixed upstream in bpmn-io/dmn-js#907

@jarekdanielak Let's release + integrate the fix for this.