chromaui / learnstorybook-code

Code for Learn Storybook
https://learnstorybook.com
MIT License
396 stars 1.21k forks source link

Asterisk (*) issue in index.css #86

Closed Nischal2015 closed 11 months ago

Nischal2015 commented 2 years ago

I came across this warning when running yarn build-storybook. I am using Vite for development.

rendering chunks (29)...warnings when minifying css:
▲ [WARNING] Expected identifier but found "*" [css-syntax-error]

    <stdin>:36:2:
      36 │   *vertical-align: middle;
         ╵   ^

▲ [WARNING] Expected identifier but found "*" [css-syntax-error]

    <stdin>:38:2:
      38 │   *overflow: visible;
         ╵   ^

Not sure why those * are written

h1,
p,
label {
  ...
  vertical-align: baseline;
  *vertical-align: middle;
  line-height: normal;
  *overflow: visible;
  ...
}