Grid中的响应式断点breakpoint支持自定义 #34197
Labels
💡 Feature Request
help wanted
The suggestion or request has been accepted, we need you to help us by sending a pull request.
Inactive
What problem does this feature solve?
antd目前主要用于pc端web页面设计。当做pc端优先的响应式页面时,设计的断点通常以max-width去实现如:@media screen and (max-width: 768px),这样子小尺寸的样式就可以覆盖大尺寸的样式。而Grid中关于xs,xl等断点是写死成bootstrap4的以移动端优先的类型。
What does the proposed API look like?
可以参考ahooks的useResponsive(网址:https://ahooks.js.org/zh-CN/hooks/use-responsive#%E9%85%8D%E7%BD%AE)中写的自定义断点breakpoint的媒体查询语句。
The text was updated successfully, but these errors were encountered: