Skip to content

Production styles don't match development #482

@gsehrlich

Description

@gsehrlich

Describe the bug
In general, styles in the production version of the app on woaq.org don't match styles in the development version viewable as described in the README. Currently the most noticeable difference is font size, but it has created issues previously including #443.

See #453 for the solution to that issue. In that case, for some reason, the production app was creating extra <style> tags redundantly containing the default styles, which took priority over the CSS files with custom styles. The stopgap solution was to increase the specificity of the selectors in the CSS files so that they took priority.

Expected behavior
Building and serving the production app produces identical styles to the development version of the app.

If that cannot accomplished in general, fixing the font size is a good first step.

Affected Components (For Developers)
create-react-app uses webpack to build the production version of the app. Are there webpack settings causing e.g. the redundant <style> tags seen in #453?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions