fix(i18n): improve English layout for homepage left-pane and report title

- Add sans-serif font for English left-pane (status, workflow sections)
- Shorten English workflow step descriptions
- Reduce English report title font-size from 36px to 28px
This commit is contained in:
ghostubborn
2026-04-01 19:04:38 +08:00
parent c6cafdd532
commit 21922da6cc
4 changed files with 43 additions and 11 deletions

View File

@@ -5153,3 +5153,10 @@ watch(() => props.reportId, (newId) => {
.log-msg.warning { color: #FFA726; }
.log-msg.success { color: #66BB6A; }
</style>
<style>
/* English locale: smaller report title */
html[lang="en"] .report-header-block .main-title {
font-size: 28px;
}
</style>

View File

@@ -2575,3 +2575,10 @@ watch(() => props.simulationId, (newId) => {
margin: 24px 0;
}
</style>
<style>
/* English locale: smaller report title */
html[lang="en"] .report-header-block .main-title {
font-size: 28px;
}
</style>

View File

@@ -922,4 +922,22 @@ html[lang="en"] .tag-row {
html[lang="en"] .navbar .nav-links {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
/* Left pane: system status + workflow */
html[lang="en"] .status-section {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
html[lang="en"] .status-section .status-ready {
font-size: 1.6rem;
}
html[lang="en"] .status-section .metric-value {
font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
font-size: 1.5rem;
}
html[lang="en"] .workflow-section {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
</style>