Repository navigation
都営風テーマiPadでナンバリング非表示時の斜め駅名がバーへ沈み込む不具合を修正 - #5944
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)
📝 WalkthroughWalkthroughタブレットでステーション番号が欠けている場合のレイアウト崩れを防ぐため、LineBoardToei.tsx に新しいプレースホルダー スタイルを追加し、StationNameCell コンポーネント内で非表示の Typography 要素をレンダリングして高さを保持します。 Changesタブレット駅名プレースホルダー レイアウト修正
推定コード レビュー所要時間🎯 1 (Trivial) | ⏱️ ~5 分 関連する可能性のある PR
Poem
🚥 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 |
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) を使用しており、かつ各駅にナンバリングが設定されていない場合に、斜め回転表示の駅名がバーの下に沈み込む不具合を修正する。変更の種類
変更内容
stationNumberがposition: 'relative'でレイアウト上の高さを占めるため、ナンバリング非表示の駅ではnameCommonがその分下方向に詰まり、-55deg回転した駅名がバー領域へ侵入していた。stationNumberと同じスタイル(opacity: 0適用)を持つ不可視のTypographyプレースホルダーを描画し、with-numbering ケースと完全に同じ縦方向レイアウトに揃えるよう修正。horizontalAdditionalStyle内の旧コメント (c925c7dで追加されたもの) を削除。テスト
npm run lintが通ることnpm testが通ることnpm run typecheckが通ること関連Issue
スクリーンショット(任意)
Generated by Claude Code
Summary by CodeRabbit
バグ修正