Skip to content

Values for the non-standard properties being set as numbers becomes as string with px concatenated in output #381

Description

@ltclmbdev

so the next code:

className={`
    no-underline black db overflow-hidden
    ${css({
        display: '-webkit-box',
        '-webkit-line-clamp': 2,
        '-webkit-box-orient': 'vertical',
        [bpMinSM]: {
            '-webkit-line-clamp': 1,
         },
     })}
`}

outputs to:

    display: -webkit-box;
    -webkit-line-clamp: 2px;
    -webkit-box-orient: vertical;

123

Which is not correct for sure (because of px concatenated).

Am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions