mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-05 16:33:36 +00:00
Fix iOS Safari auto-zoom on input focus by ensuring 16px minimum font size on mobile
This commit is contained in:
7 files changed
+11
-11
No files matched your search
@@ -119,7 +119,7 @@ const ZapContent = forwardRef<HTMLDivElement, ZapContentProps>(({
|
||||
id="invoice"
|
||||
value={invoice}
|
||||
readOnly
|
||||
className="font-mono text-xs min-w-0 flex-1 overflow-hidden text-ellipsis"
|
||||
className="font-mono text-base md:text-xs min-w-0 flex-1 overflow-hidden text-ellipsis"
|
||||
onClick={(e) => e.currentTarget.select()}
|
||||
/>
|
||||
<Button
|
||||
@@ -206,14 +206,14 @@ const ZapContent = forwardRef<HTMLDivElement, ZapContentProps>(({
|
||||
placeholder="Custom amount"
|
||||
value={amount}
|
||||
onChange={(e) => setAmount(e.target.value)}
|
||||
className="w-full text-sm"
|
||||
className="w-full"
|
||||
/>
|
||||
<Textarea
|
||||
id="custom-comment"
|
||||
placeholder="Add a comment (optional)"
|
||||
value={comment}
|
||||
onChange={(e) => setComment(e.target.value)}
|
||||
className="w-full resize-none text-sm"
|
||||
className="w-full resize-none"
|
||||
rows={2}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user