[PR #583] [MERGED] fix(web): prevent iOS font size inflation on code editor tab switch #1420

Closed
opened 2026-03-14 09:35:45 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/583
Author: @simonklee
Created: 1/24/2026
Status: Merged
Merged: 1/24/2026
Merged by: @kommander

Base: mainHead: web-fix-examples


📝 Commits (1)

  • 64399cd fix(web): prevent iOS font size inflation on code editor tab switch

📊 Changes

1 file changed (+6 additions, -0 deletions)

View changed files

📝 packages/web/src/styles/global.css (+6 -0)

📄 Description

On iOS, when toggling panels the examples, the font size compounds. Added text-size-adjust: 100% to code editor elements to keep font size.

I didn't test if this fixes it, but if it turns out not to, i'll set up a tunnel and make sure i can debug it end-to-end.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opentui/pull/583 **Author:** [@simonklee](https://github.com/simonklee) **Created:** 1/24/2026 **Status:** ✅ Merged **Merged:** 1/24/2026 **Merged by:** [@kommander](https://github.com/kommander) **Base:** `main` ← **Head:** `web-fix-examples` --- ### 📝 Commits (1) - [`64399cd`](https://github.com/anomalyco/opentui/commit/64399cd9ff00a55b005c568ff4048e60c9e23392) fix(web): prevent iOS font size inflation on code editor tab switch ### 📊 Changes **1 file changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/web/src/styles/global.css` (+6 -0) </details> ### 📄 Description On iOS, when toggling panels the examples, the font size compounds. Added text-size-adjust: 100% to code editor elements to keep font size. I didn't test if this fixes it, but if it turns out not to, i'll set up a tunnel and make sure i can debug it end-to-end. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 09:35:45 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentui#1420
No description provided.