full-width-text
full-width-text copied to clipboard
Web component for making the inner text fit the width of the element
Results
3
full-width-text issues
Sort by
recently updated
recently updated
newest added
This fixes issue #2
the part of the getStyle function `return getComputedStyle(el).getPropertyValue(prop);` returns an empty string and therefore the font isn't properly resized
Looks like `elementResizeDetectorMaker `doesn't notify when using shadow dom.