surveyjs / survey-creator

Scalable open-source survey software to generate dynamic JSON-driven forms within your JavaScript application. The form builder features a drag-and-drop UI, CSS Theme Editor, and GUI for conditional logic and form branching.
https://surveyjs.io/open-source
Other
896 stars 370 forks source link

CSS SurveyCreator looks different on different environments v2 #2777

Open hamodey opened 2 years ago

hamodey commented 2 years ago

Are you requesting a feature, reporting a bug or ask a question?

Bug

What is the current behavior?

In development environment, styling and CSS works perfectly fine with Survey Creator. However, in another environment, which is staging the css is minified and looks different.

Dev env: image

Staging env: image

I assume this is something to do with the min version of the css or maybe the chunks we create when we push to a prod env.

What is the expected behavior?

The styling to look the same across all envs.

How would you reproduce the current behavior (if this is a bug)?

Currently using:

import "survey-creator-core/survey-creator-core.css";
import "./style.css";
import "survey-core/modern.min.css";
import "css/survey-creator-react.css";
import * as SurveyReactUi from "survey-react-ui";

I am not overriding any css classes.

Specify your

tsv2013 commented 2 years ago

Can you share a minimal live example illustrating this issue?