Skip to content

fix(mockups): scale the canvas correctly in Safari - #1383

Merged
ncdai merged 3 commits into
mainfrom
staging
Aug 22, 2026
Merged

ncdai merged 3 commits into
mainfrom
staging

Conversation

@ncdai

@ncdai ncdai commented Aug 22, 2026

Copy link
Copy Markdown
Owner

Safari 26.5 miscomputes tan(atan2()) when the arguments use cqw, which rendered mockups flipped and oversized. Add a calc() length-division form inside @supports so Safari and Chrome take that path while Firefox, which cannot divide lengths yet, keeps the tan(atan2()) form.

Safari 26.5 miscomputes tan(atan2()) when the arguments use cqw, which
rendered mockups flipped and oversized. Add a calc() length-division
form inside @supports so Safari and Chrome take that path while Firefox,
which cannot divide lengths yet, keeps the tan(atan2()) form.
@vercel

vercel Bot commented Aug 22, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
chanhdai.com Error Error Aug 22, 2026 6:20am

Request Review

ncdai added 2 commits August 22, 2026 13:18
…cked route

Add /api/github-contributions/[username], which proxies the GitHub GraphQL
contribution calendar with GITHUB_API_TOKEN and returns the same response
shape as github-contributions-api.jogruber.de. The home page fetches the
calendar directly; the registry lib reads the API base URL from the now
required NEXT_PUBLIC_GITHUB_CONTRIBUTIONS_API_URL.
@ncdai
ncdai merged commit 2db8143 into main Aug 22, 2026
1 of 2 checks passed
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