improvement(canvas): improve code tooltip readability
Merged
WA
2mo ago+22+22+01234567890123456789-9-9-0123456789
Summary
- Add line numbers and wrapped code to canvas code previews
- Match terminal gutter spacing and keep wider tooltips viewport-safe
Type of Change
- Improvement
Testing
- Tested manually in the browser with a Function block and multi-line JavaScript
bun run lintbun run check:auditsbun run testandbun run type-checkin the affected packages
Checklist
- Code follows project style guidelines
- Self-reviewed my changes
- Tests added/updated and passing
- No new warnings introduced
- I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)