Skip to content

In the 0.8.x series --env prod causes the styling of a wrapped component to be lost #5757

@bertbarabas

Description

@bertbarabas

Describe the bug
--env prod in the 0.8 series causes the styling of a wrapped component to not be present even though it is present when run without prod and it works both with and without prod in 0.7.14

To Reproduce
Just run the provided reflex project below both with and without --env prod

Expected behavior
The rendered table should be the same regardless of if the project is run with reflex run or reflex run --env prod

Screenshots
This is what it looks like when run with reflex run. Note how all the table and cell borders show up.

Image

This is what it looks like when run with reflex run --env prod. Note how all the table and cell borders do NOT show up.

Image

Specifics (please complete the following information):

  • Python Version: 3.12.3
  • Reflex Version: 0.8.9
  • OS: Ubuntu 24.04.2 LTS on WSL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions