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

fix: align-self not work for positioned flex item #1207

Merged
merged 1 commit into from
Mar 16, 2022

Conversation

temper357
Copy link
Contributor

Closes #1206

  • 修复在有定位(absolute/fixed)的 flex-item 上设置 align-self 无效。
  • 修复 align-items/align-self: stretch 对于有定位(absolute/fixed)的 flex-item 不应该 stretch flex-item 的 cross-size。

@andycall andycall merged commit 0f1701d into main Mar 16, 2022
@andycall andycall deleted the fix/align-self-of-positioned-element branch March 16, 2022 07:35
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

Successfully merging this pull request may close these issues.

flex 容器下绝对定位的 flex-item align-self 未生效
3 participants