Skip to content

fix: add w-fit to width class name#161

Merged
fsubal merged 2 commits intopixiv:mainfrom
hasegawa282:add_w_fit_class_name
Nov 29, 2022
Merged

fix: add w-fit to width class name#161
fsubal merged 2 commits intopixiv:mainfrom
hasegawa282:add_w_fit_class_name

Conversation

@hasegawa282
Copy link
Contributor

やったこと

  • tailwind/widthのclassNameにw-fitを追加

なぜやるのか

  • w-fit(width: fit-content)をclassNameから指定できないため

動作確認環境

  • Macbook Pro Intel系/google chrome
  • storybook内で確認。

チェックリスト

以下3つのチェックリストに対して影響はないと思われる。

  • 破壊的変更がある場合には、対象のパッケージのメジャーバージョンが上がっていることを確認した
  • 追加したコンポーネントが index.ts から再 export されている
  • README やドキュメントに影響があることを確認した

@fsubal
Copy link
Member

fsubal commented Nov 28, 2022

tailwind-config は吐き出されるクラスの一覧をスナップショットテストしているので、 packages/tailwind-config/src/index.test.ts の更新をお願いします

yarn test -u packages/tailwind-config/src/index.test.ts

@hasegawa282
Copy link
Contributor Author

tailwind-configのスナップショットテストを実行させていただきました!

3c11b38

@fsubal fsubal self-requested a review November 28, 2022 12:14
Copy link
Member

@fsubal fsubal left a comment

Choose a reason for hiding this comment

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

良さそうですー

@hasegawa282
Copy link
Contributor Author

ありがとうございます。
私にマージ権限がないっぽいので、お手隙の時にでもマージをお願いします!

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