-
Notifications
You must be signed in to change notification settings - Fork 893
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
Fix second to last tooltip overflowing due to our wide player controls #6528
Conversation
Unironically probably easier just to revert our CSS overrides, than adding language specific offsets (the amount of offset needed for Russian is probably going to look horrible for English and other locales with much smaller labels), but I know that everyone else hates shaka-player's default UI for some reason, so I guess that is not an option. |
One other potential alternative is to calculate an inline-end padding for the label based on its width and position. |
If that can be done purely in CSS sure. Keep in mind that the player can be lots of different sizes and on mobile we keep the normal layout (as squashing buttons right into the corners of a touchscreen makes them a lot harder to tap on, was a valid complaint with our old video.js player). |
tbh im all for reverting the overwrites if we have to patch the player all the time |
This might have been missed as I added it as an edit, but I also did a bit of testing with stuff like |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given that the 3rd and 4th are only a problem in some locales, and that this is the last major item for our next major version, I'm willing to go ahead with this as its own fix for the 2nd to last tooltip.
Fix second to last tooltip overflowing due to our wide player controls
Pull Request Type
Related issue
Description
Fixes the second to last player tooltip overflowing.
Screenshots
Testing
Open a video and decide if it looks better.
Desktop