[UI/UX] HEADER_LABEL TextStyle Fix (#6089)

This commit is contained in:
Lugiad 2025-07-14 02:59:51 +02:00 committed by GitHub
parent d22a4d5c9f
commit 362dd9e2b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -319,10 +319,14 @@ export function getTextStyleOptions(
case TextStyle.MESSAGE:
styleOptions.fontSize = defaultFontSize;
break;
case TextStyle.HEADER_LABEL:
styleOptions.fontSize = defaultFontSize;
styleOptions.padding = { top: 6 };
case TextStyle.HEADER_LABEL: {
switch (lang) {
case "ja":
styleOptions.padding = { top: 6 };
break;
}
break;
}
case TextStyle.SETTINGS_VALUE:
case TextStyle.SETTINGS_LABEL: {
shadowXpos = 3;