fix: add maxLines/overflow to MBTI subtitle in soul_screen
長いMBTIタイトルがListTile内でUI崩れを起こす可能性があったため対処。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
57a2cf89bb
commit
426697403e
|
|
@ -104,7 +104,9 @@ class _SoulScreenState extends ConsumerState<SoulScreen> {
|
||||||
userProfile.sakePersonaMbti != null
|
userProfile.sakePersonaMbti != null
|
||||||
? MBTIType.types[userProfile.sakePersonaMbti]?.title ?? userProfile.sakePersonaMbti!
|
? MBTIType.types[userProfile.sakePersonaMbti]?.title ?? userProfile.sakePersonaMbti!
|
||||||
: '未診断(AI分析)',
|
: '未診断(AI分析)',
|
||||||
style: TextStyle(color: appColors.textSecondary)
|
style: TextStyle(color: appColors.textSecondary),
|
||||||
|
maxLines: 2,
|
||||||
|
overflow: TextOverflow.ellipsis,
|
||||||
),
|
),
|
||||||
trailing: Icon(LucideIcons.chevronRight, color: appColors.iconSubtle),
|
trailing: Icon(LucideIcons.chevronRight, color: appColors.iconSubtle),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue