Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(UI): Fix font-family override in UITextDisplayer (#7249)
Font settings were applied to ".shaka-video-container *", all descendents of .shaka-video-container. This meant that the font setting inheritance intended in our UI text displayer was broken, because those descendents effectively had their own settings and didn't inherit them from their parents in the subtitle DOM hierarchy. We fix this by breaking down the CSS and applying those font settings directly to the top level .shaka-video-container, to be inherited by any descendent without their own setting.
- Loading branch information