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: form labelAlign right not work when label with extra #2281

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

pointhalo
Copy link
Collaborator

@pointhalo pointhalo commented Jun 5, 2024

中文模板 / Chinese Template

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Test Case
  • TypeScript definition update
  • Document improve
  • CI/CD improve
  • Branch sync
  • Other, please describe:

PR description

  • now
    image

  • after fix
    image

带extra时为 inline-flex 布局,与不带extra时的 inline 不同。 text-align 仅能对后者生效。前者需要追加 justify-content 控制

Changelog

🇨🇳 Chinese

  • Fix: 修复 Form labelAlign 设为 right时,对齐样式在 label 带 extra 情况下不生效的问题

🇺🇸 English

  • Fix: Fixed the problem that when Form labelAlign is set to right, the alignment style does not take effect when the label has extra

Checklist

  • Test or no need
  • Document or no need
  • Changelog or no need

Other

  • Skip Changelog

Additional information

Copy link

codesandbox-ci bot commented Jun 5, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit f589711:

Sandbox Source
pr-story Configuration

@pointhalo pointhalo merged commit 68aeee3 into main Jun 5, 2024
7 of 8 checks passed
@pointhalo pointhalo deleted the fix-labelAlignRightWithExtra branch June 5, 2024 13:08
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.

1 participant