Skip to content

hotfix: 1.5.2#103

Merged
ryanaidilp merged 4 commits intomainfrom
hotfix/1.5.2
Mar 28, 2026
Merged

hotfix: 1.5.2#103
ryanaidilp merged 4 commits intomainfrom
hotfix/1.5.2

Conversation

@ryanaidilp
Copy link
Copy Markdown
Contributor

@ryanaidilp ryanaidilp commented Mar 28, 2026

hotfix 1.5.2

This PR contains the changes for version 1.5.2.

Checklist

  • All tests passing
  • FCT completed
  • Ready for release

🤖 This PR was automatically created by the release workflow.

aidil-coder-bot and others added 3 commits March 28, 2026 06:35
Root cause: all section wrapper divs used overflow-hidden which
clipped child code blocks, math formulas and params tables.

Fix:
- Replace overflow-hidden with overflow-x-hidden on all section containers
  to preserve border-radius while allowing horizontal scroll in children
- Fix CodeBlock.vue wrapper: overflow hidden → overflow-x auto
- Fix .code-panel in style.css: overflow hidden → overflow-x auto

Affected components:
- ParamsTable, GlossarySection, OverviewSection, VaccinationSection
- RegenciesSection, StatisticsSection, TaskForcesSection
- NationalLatestSection, HealthCheckSection, ProvincesSection
- AuthenticationSection, HospitalsSection, RootEndpointSection
- ProvinceCasesSection, NationalHistoricalSection, ErrorHandlingSection
…max-width

- Remove overflow-x:hidden from .api-section-grid > * (was clipping code blocks)
- Use min-width:0 + max-width:100% instead for proper containment
- Add overflow-x:hidden + max-width:100vw to body and #app
Copy link
Copy Markdown
Collaborator

@aidil-coder-bot aidil-coder-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM! Verified locally — 390px viewport, 13 code blocks, 0 overflow, bodyHasHScroll: false. Root cause fixed (overflow-hidden in section containers + api-section-grid children).

…tion

- GlossarySection: add min-w-0 + overflow-x-hidden to grid column children
  to prevent content from expanding beyond column width
- GlossarySection: fix grid-cols-2 without breakpoint → grid-cols-1 sm:grid-cols-2
- GlossarySection: break long Gamma posterior formula into 2 display-mode lines
- GlossarySection: add min-w-0 break-words to Rt table description spans
- ApiSection: use flex-wrap + break-all on endpoint URL to prevent overflow

Verified with Playwright iPhone 13 (390px): 3/3 PASS
- Code blocks, JSON response ✅
- Rt interpretation table ✅
- Math formulas (KaTeX) ✅
- bodyHasHScroll: false ✅
Copy link
Copy Markdown
Collaborator

@aidil-coder-bot aidil-coder-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM! Verified with Playwright iPhone 13 (390px viewport) — 3/3 PASS: code blocks, Rt table, math formulas. bodyHasHScroll: false. Siap merge!

@ryanaidilp ryanaidilp merged commit 09fdfd9 into main Mar 28, 2026
9 checks passed
@github-actions github-actions bot deleted the hotfix/1.5.2 branch March 28, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants