Skip to content

Why overflow: hidden is not inlined to the tag #600

@yi-jy

Description

@yi-jy

Thanks for providing this library, But I found a problem while using it. The overflow: hidden is not inline to tag style!

For example, input:

// index.less
.test {
  position: relative;
  overflow: hidden;
}
// index.js

import './index.less'

return (
  <div class="test">abc</div>
)

But output:

<div class="test" style="position: relative;">abc</div>

You can see that overflow: hidden is missing!

However, if I use overflow: hidden!important; does not have this problem.

I'm using the version '@css-inline/[email protected]' and react stach, Please help me see if this is a problem? thanks.

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