We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.10.2
No response
当前默认的align-items属性为flex-start,这样会造成col高度无法撑满这一行的问题 例如,我们很多时候希望col中套一个卡片card,希望card的高度(auto)能随其内部内容动态调整,当Grid某一行的卡片高度不一致时,由于当前默认的align-items: flex-start,会造成col高度不一致,无法让col内部的card撑满这一行的高度
align-items
flex-start
align-items: flex-start
修改TD Grid 组件中align的默认属性,应当与MDN默认一致,改为stretch属性。 https://developer.mozilla.org/zh-CN/docs/Web/CSS/align-items
align
stretch
The text was updated successfully, but these errors were encountered:
👋 @Nero978,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
No branches or pull requests
tdesign-vue-next 版本
1.10.2
重现链接
No response
重现步骤
当前默认的
align-items
属性为flex-start
,这样会造成col高度无法撑满这一行的问题例如,我们很多时候希望col中套一个卡片card,希望card的高度(auto)能随其内部内容动态调整,当Grid某一行的卡片高度不一致时,由于当前默认的
align-items: flex-start
,会造成col高度不一致,无法让col内部的card撑满这一行的高度期望结果
修改TD Grid 组件中
align
的默认属性,应当与MDN默认一致,改为stretch
属性。https://developer.mozilla.org/zh-CN/docs/Web/CSS/align-items
实际结果
No response
框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
No response
The text was updated successfully, but these errors were encountered: