Skip to content
New issue

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

[Grid] align-items默认属性问题 #4631

Open
Nero978 opened this issue Oct 4, 2024 · 1 comment
Open

[Grid] align-items默认属性问题 #4631

Nero978 opened this issue Oct 4, 2024 · 1 comment

Comments

@Nero978
Copy link
Contributor

Nero978 commented Oct 4, 2024

tdesign-vue-next 版本

1.10.2

重现链接

No response

重现步骤

image

当前默认的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

Copy link
Contributor

github-actions bot commented Oct 4, 2024

👋 @Nero978,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant