From 2ebb04f49aee08f6b3a867418e85acb46f1eb7ef Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 28 Mar 2026 04:57:44 +0000 Subject: [PATCH 1/3] chore: bump version to 1.6.0 for next development cycle --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9fec0bf..bb2410b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pico-api-docs", - "version": "1.5.0", + "version": "1.6.0", "description": "PICO SulTeng API Documentation - COVID-19 Sulawesi Tengah Data API", "main": "index.js", "scripts": { From 11f40bddc48dd4182af265d903c4b7d0598855f6 Mon Sep 17 00:00:00 2001 From: aidil-coder-bot Date: Sat, 28 Mar 2026 06:18:11 +0100 Subject: [PATCH 2/3] hotfix: make math formulas, code blocks, and params table scrollable 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 --- src/components/CodeBlock.vue | 15 ++++++++++++--- src/components/MathFormula.vue | 18 ++++++++++++++++++ src/style.css | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 3 deletions(-) diff --git a/src/components/CodeBlock.vue b/src/components/CodeBlock.vue index 1d279d2..afea03d 100644 --- a/src/components/CodeBlock.vue +++ b/src/components/CodeBlock.vue @@ -265,8 +265,10 @@ onMounted(() => { diff --git a/src/style.css b/src/style.css index f95c499..6122d78 100644 --- a/src/style.css +++ b/src/style.css @@ -108,6 +108,38 @@ body { * { animation: none !important; transition-duration: 0.01ms !important; } } +/* Mobile overflow fixes */ +@media (max-width: 768px) { + /* Ensure code blocks are scrollable on mobile */ + .code-block-wrapper, + .code-container, + .code-panel, + .code-panel pre { + overflow-x: auto !important; + -webkit-overflow-scrolling: touch; + max-width: 100%; + } + + /* Ensure params table is scrollable */ + .params-table { + display: block; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + white-space: nowrap; + } + + .params-table td, + .params-table th { + white-space: normal; + min-width: 80px; + } + + .params-table td:last-child { + min-width: 150px; + white-space: normal; + } +} + /* Dark mode code syntax colors */ .token-string { color: #a3e4c9; } .token-number { color: #f97316; } From 3d27925af8ef786a08922ee02e7bea7aceae60e7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 28 Mar 2026 05:18:29 +0000 Subject: [PATCH 3/3] chore: bump version to mobile-overflow-scrollable --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bb2410b..e42d765 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pico-api-docs", - "version": "1.6.0", + "version": "mobile-overflow-scrollable", "description": "PICO SulTeng API Documentation - COVID-19 Sulawesi Tengah Data API", "main": "index.js", "scripts": {