-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(FEC-13348): dynamically adjust hotspot text with player size (#307)
the requirement is to have the hotspot text fit into 1 line. **solution:** create a temporary hotspot container div and a temporary hotspot text div with the same styles as the real ones, make calculations to find the ideal font-size to use for the text. Solves [FEC-13348](https://kaltura.atlassian.net/browse/FEC-13348) [FEC-13348]: https://kaltura.atlassian.net/browse/FEC-13348?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
- Loading branch information
1 parent
175f848
commit c15c705
Showing
2 changed files
with
49 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters