``` css { // ffrom import emotion.react.css...
# javascript
c
Copy code
css { // ffrom import emotion.react.css
            width = "fit-content" // error, accepts type Width
        }
How can I set the width to "fit-content" in the object without error?
a
Copy code
width = Length.fitContent
Length
from
web.cssom.Length
👍 1
🙌 1
c
excellent, thanks