fitty icon indicating copy to clipboard operation
fitty copied to clipboard

✨ Makes text fit perfectly

Results 26 fitty issues
Sort by recently updated
recently updated
newest added

Hi Why can't I import directly in Jest? code: ``` import fitty from 'fitty'; ``` Throw error: ![image](https://user-images.githubusercontent.com/24474049/135561628-348987f7-e920-4e5c-9121-085b49ecf09f.png)

Bumps [terser](https://github.com/terser/terser) from 5.7.1 to 5.14.2. Changelog Sourced from terser's changelog. v5.14.2 Security fix for RegExps that should not be evaluated (regexp DDOS) Source maps improvements (#1211) Performance improvements in...

dependencies

## Current behavior When applying `overflow:hidden` and `text-overflow: ellipsis` to the fitty element while setting the `max-width` of the fitty element to be the exact width of it's parent, the...

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

Hi, I'm having this weird issue with fitty. I have the following HTML structure: And I'm using muicss together with this simple stylesheet: And then at the end of the...

Hi, thanks for this nice little plugin, could be very usefull. Just one problem I am struggeling with, is that it seems not working if letter-spacing is used on the...

enhancement

Restrict by height as well as width when calculating the font size to ensure fonts fit within a container, for example when rotated or using a top to bottom language....

Awesome work on this library! I'm looking for something similar but that scales the font size of multi-line text to always fit the container height rather than width. Any thoughts...

enhancement

I am only using em and % units for my font-sizes, so it would be great if they could be used for the minSize and maxSize option.

I'm using this inside of a vue directive to try and fix text to it's container, however it does not seem to actually do anything except set the font size...