Last 12 weeks · 0 commits
2 of 6 standards met
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.
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
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.