survey-creator icon indicating copy to clipboard operation
survey-creator copied to clipboard

CSS SurveyCreator looks different on different environments v2

Open hamodey opened this issue 3 years ago • 1 comments

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

  • browser: Chrome
  • editor version:

hamodey avatar Mar 09 '22 14:03 hamodey

Can you share a minimal live example illustrating this issue?

tsv2013 avatar Mar 09 '22 14:03 tsv2013