ant-design / antd-style

css-in-js library with antd v5 token system
https://ant-design.github.io/antd-style/
MIT License
187 stars 29 forks source link

🐛[BUG] useResponsive与createStyles中responsive断点大小不一致 #55

Closed pangxzi closed 1 year ago

pangxzi commented 1 year ago

https://codesandbox.io/s/magical-keldysh-1cmt01?file=/App.tsx

image

arvinxx commented 1 year ago

你指的不一致是指?

pangxzi commented 1 year ago

useResponsivetablet是 768
createStylestablet是 991

arvinxx commented 1 year ago

哦 这看起来是 demo 的演示问题。 useResponsive 和 createStyles 背后其实用的是同一套值;

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 3.2.0-beta.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 3.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

pangxzi commented 1 year ago

哦 这看起来是 demo 的演示问题。 useResponsive 和 createStyles 背后其实用的是同一套值;

这个值好像还是不对。🤔

https://codesandbox.io/s/magical-keldysh-1cmt01?file=/App.tsx

image

arvinxx commented 1 year ago

你重新看下文档demo