Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

flex layout class has different specificity between client and SSR #1045

Open
@cesareian

Description

@cesareian

When using flex layout in client, it creates inline styles which will override most of the styling done inside style files. However, when SSR is enabled, flex layout is creating simple classes which are being overridden by other classes.

In my opinion flex layout need to create classes with the same specificity in both client and SSR.

Client
client

As you can see from the above screenshot, flex layout styling is done inline so it will override the styling provided by class (in this case, the min-width)

SSR
ssr

As you can see, flex layout in SSR specifies a simple class which is overridden by the normal class

Is there something which can be done at the moment? If not, should this be fixed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionFurther discussion with the team is needed before proceedingssr

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions