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(Th): ソートアイコンが左寄せになっていたのを修正 #5205

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

uknmr
Copy link
Collaborator

@uknmr uknmr commented Dec 18, 2024

関連URL

概要

#5144 で紛れ込んでしまった不具合を修正します。ソート付き Th のアイコンが両端揃えではなく左に依ってしまっていました。

変更内容

両端揃えになるように調整。

確認方法

Storybook や Chromatic で確認してください。

@uknmr uknmr requested a review from a team as a code owner December 18, 2024 02:30
@uknmr uknmr requested review from oti, Qs-F and mterada1228 and removed request for a team December 18, 2024 02:30
Copy link

pkg-pr-new bot commented Dec 18, 2024

Open in Stackblitz

npm i https://pkg.pr.new/kufu/smarthr-ui@5205

commit: b39c5cc

variants: {
align: {
left: 'shr-justify-between',
left: '',
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/kufu/smarthr-ui/pull/5144/files#diff-aa8eeac36839797f4a810812b300666314b452f674eed732f5891df9e05deaa0L18 で align の初期値を tailwind-variants 側に寄せたことによる影響が sortButton 側にも出ていました。
デフォルト(left)で shr-justify-between、right の時に shr-justify-end で上書き、という形に修正。

Copy link
Member

@AtsushiM AtsushiM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@uknmr uknmr merged commit 85a29ec into master Dec 18, 2024
14 checks passed
@uknmr uknmr deleted the fix-Th-sortButton branch December 18, 2024 02:37
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.

2 participants