GitShow/leveluptuts/svelte-fit
leveluptuts

svelte-fit

Fit that text of yours in its container automatically

by leveluptuts
Star on GitHubForknpm

TypeScript

67 stars3 forks1 contributorQuiet · 3y agoSince 2022MIT

Meet the team

See all 1 on GitHub →
stolinski
stolinski18 contributions

Languages

View on GitHub →
TypeScript50.4%
JavaScript49.6%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
37
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 1 in progress · Last activity 3y ago
See all on GitHub →
drewbitt
Doesn't work with span, div elements in gridOpenIssue

https://replit.com/@drewbitt/PlumUnitedMonad#src/App.svelte Noted that this works great with a h1 element, but text in a `` it does not work. I recognize this is a tiny script and you may not want to expand it to work with non-text elements so at least some documentation on what is expected to work vs not would be great.

drewbitt · 10mo ago
http-teapot
Simplifying logic in resize_textOpenPR

There was a bit of redundancy in the code: variables and are nearly identical variable isn't necessary: it starts at false, executes at least once, it assigns function result to a value then check for falsiness – instead could check function result directly in I am unsure why was needed; if fits then why decrements by 2 pixels? Great library, could def use it in our team

http-teapot · 3y ago
Structured data for AI agents

Repository: leveluptuts/svelte-fit. Description: Fit that text of yours in its container automatically Stars: 67, Forks: 3. Primary language: TypeScript. Languages: TypeScript (50.4%), JavaScript (49.6%). License: MIT. Open PRs: 1, open issues: 1. Last activity: 3y ago. Community health: 37%. Top contributors: stolinski.

·@ofershap

Replace github.com with gitshow.dev