Closed ManAnRuck closed 1 year ago
It is any option to solve this. I'm trying to solve it myself but I failed =(
until now, I didn't find a solution. @timneutkens @ijjk any idea?
Hi, this issue is 2 years old now. Is it still relevant?
Could you try it again with next@canary
?
Closing because the example was actually removed.
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Bug report
Describe the bug
App does not work when using media queries
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
@layout-header-height: 40px; @border-radius-base: 2px;
// Add this @media (min-width: @screen-md-min) { @primary-color: #1ab6c4; }
error - ./node_modules/antd/lib/button/style/index.less
@primary-color: #52c41a;@layout-header-height: 40px;@border-radius-base: 2px;@media (min-width: @screen-md-min) { @primary-color:#1ab6c4; ^ Media definitions require block statements after any features in …/with-ant-design-less/node_modules/antd/lib/button/style/index.less (line 227, column 25) at runMicrotasks ()