Skip to content

hotfix: make math formulas, code blocks, and params table scrollable on mobile - #99

Closed
aidil-coder-bot wants to merge 2 commits into
developfrom
hotfix/mobile-overflow-scrollable
Closed

aidil-coder-bot wants to merge 2 commits into
developfrom
hotfix/mobile-overflow-scrollable

Conversation

@aidil-coder-bot

Copy link
Copy Markdown
Collaborator

Problem

Several areas overflow horizontally on mobile:

  • Math formulas (KaTeX) cut off on small screens
  • JSON response code blocks overflow instead of scroll
  • Params table columns overflow

Fix

  • MathFormula.vue: Added overflow-x: auto + -webkit-overflow-scrolling: touch on KaTeX container and inner display elements
  • CodeBlock.vue: Ensured code-container uses proper overflow scroll, added white-space: pre + min-width: min-content on code-pre so content is scrollable not clipped
  • style.css: Added mobile-specific (max-width: 768px) overflow rules for .code-block-wrapper, .code-panel, and .params-table

Screenshots

See attached screenshots from reporter showing overflow on:

  1. Statistics section math formula
  2. JSON response block

…on mobile

- MathFormula: add overflow-x auto + touch scrolling for KaTeX display
- CodeBlock: ensure code-container and code-pre are properly scrollable
- style.css: add mobile-specific overflow fixes for code, table blocks

Fixes horizontal overflow on mobile for JSON responses, math formulas,
and params tables
@aidil-coder-bot aidil-coder-bot self-assigned this Mar 28, 2026
@aidil-coder-bot

Copy link
Copy Markdown
Collaborator Author

Superseded by hotfix PR #101 (base: main, branch: hotfix/1.5.1)

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.

1 participant