Skip to content

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

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/css-inline-wasm@0.16.0' and react stach, Please help me see if this is a problem? thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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