swordev / suid

A port of Material-UI (MUI) built with SolidJS.
https://suid.io
MIT License
673 stars 48 forks source link

Styles don't work #211

Closed rtritto closed 1 year ago

rtritto commented 1 year ago

I did some try with Button and TextField components adding fullwidth.

<Button sx={{ width: '100%' }}>Click me</Button>

OR

<Button fullwidth>Click me</Button>

The style doesn't change.

Workaround:

<Button style={{ width: '100%' }}>Click me</Button>

Versions

@suid/material: 0.12.1 solid-js: 1.7.5 vite-plugin-ssr: 0.4.123

Reproduction

suid-material-styles

Links

SUID/Material - Button doc

SUID/Material - Button code

rtritto commented 1 year ago

FYI @brillout

rtritto commented 1 year ago

Reproduction updated

rtritto commented 1 year ago

What is the duplicated issue?

juanrgm commented 1 year ago

SSR is not fully supported yet (https://github.com/swordev/suid/issues/139).