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
Description
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.
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)
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?