Repository navigation
都営風テーマでナンバリング非表示のiPad向け駅名位置をバー上に揃える - #5941
Merged
Merged
Conversation
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 Walkthroughウォークスルー
変更内容Toeiラインステーションレイアウト簡潔化
推定コードレビュー工数🎯 2 (シンプル) | ⏱️ ~10分 ポエム
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
4 of 9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
iPad で都営風テーマを使用しており、対象路線の各駅にナンバリングが設定されていない場合、斜めに描画される駅名が大きく下方向にずれてバーへ食い込む不具合を修正する。
変更の種類
変更内容
LineBoardToeiのStationNameToeiでhasNumbering === falseのmarginBottomを、タブレットのみdim.height / 14からdim.height / 10(ナンバリング有りと同値)に揃えた。スマホ側は元からdim.height / 10のため挙動は変わらない。stationNumberがposition: 'relative'で約 20px のレイアウト枠を占めていたため、PR LineBoardToei下部の空きを詰めて都営バスのフォールバック判定を撤去 #5889 でmarginBottomを縮めかつstationNumberを非描画にした合算でおよそ 50px 沈み込んでいた。stationNumber不在分だけ駅名が自然に下がるに留めることで、PR LineBoardToei下部の空きを詰めて都営バスのフォールバック判定を撤去 #5889 が意図した「下部の空きを詰める」効果は維持しつつ、バーへの沈み込みを解消する。テスト
npm run lintが通ることnpm testが通ることnpm run typecheckが通ること関連Issue
スクリーンショット(任意)
Generated by Claude Code
Summary by CodeRabbit
リリースノート