Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/styles.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ink-app.html

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions openspec/changes/fix-mobile-textarea-zoom/proposal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Change: Fix Mobile Textarea Zoom Issue

## Why
On mobile devices, tapping the textarea causes unwanted zoom because the font-size (14px) is below the 16px threshold that triggers automatic zoom on iOS Safari and other mobile browsers. This breaks the user experience and makes editing difficult.

## What Changes
- Increase textarea font-size to 16px on mobile devices
- Add media query targeting mobile viewports to apply appropriate font-size
- Maintain existing 14px font-size on desktop where zoom is not an issue

## Impact
- Affected specs: mobile-support
- Affected code: src/styles.scss
- Breaking changes: none (style-only improvement)

.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## MODIFIED Requirements
### Requirement: Mobile Text Input Support
The system SHALL provide a comfortable editing experience on mobile devices without unwanted zoom behavior.

#### Scenario: Tap textarea on mobile device
- **WHEN** user taps the textarea on a mobile device
- **THEN** the textarea does not trigger automatic browser zoom
- **AND** the font-size is at least 16px to prevent iOS Safari zoom behavior

#### Scenario: Desktop editing experience unchanged
- **WHEN** user edits on desktop viewport
- **THEN** the textarea maintains the original 14px font-size
- **AND** the editing experience remains consistent with previous behavior
3 changes: 3 additions & 0 deletions openspec/changes/fix-mobile-textarea-zoom/tasks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 1. Implementation
- [x] 1.1 Add 16px font-size for textarea on mobile viewports
- [x] 1.2 Build and verify fix in output
3 changes: 3 additions & 0 deletions src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1199,4 +1199,7 @@
max-height: min(80vh, 720px);
border-radius: 18px 18px 0 0;
}
textarea{
font-size: 16px;
}
}
Loading