cssdream / cssgrace

从今天起,写简单优雅面向未来的 CSS。From now on,writing brief,elegant,future-oriented CSS.
MIT License
592 stars 63 forks source link

ieOpacityHack not working with `postcss-nested` #29

Open Semigradsky opened 9 years ago

Semigradsky commented 9 years ago

Input:

td.options {
  text-align: center;

  .link {
    opacity: 0;
  }
}

Error:

ERROR in ./~/css-loader!./~/postcss-loader!./src/scripts/components/users/users.css Module build failed: TypeError: Cannot read property 'replace' of undefined at ieOpacityHack (D:\Dev\git\React\react-admin-example\node_modules\cssgrace\lib\index.js:270:31) at D:\Dev\git\React\react-admin-example\node_modules\cssgrace\lib\index.js:472:5

viperfx07 commented 9 years ago

this happens to display: inline-block as well