Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override VJS caption font to prevent double spacing #418

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

masaball
Copy link
Contributor

@masaball masaball commented Feb 15, 2024

I am not sure why the rule was not rendering in Ramp, but when loaded into Avalon there was a larger font CSS on .vjs-text-track-cue that was rendering. This caused the smaller font on the child div to display as if the captions were double spaced because the child font was not filling the allotted space from the parent. Setting the parent font to 0px and using solely the child font seems to fix the rendering.

@masaball masaball merged commit 86f9891 into main Feb 15, 2024
2 checks passed
@masaball masaball deleted the fix-double-spacing branch February 15, 2024 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants