-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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(web): prevent navigation from overlapping video controls #9409
fix(web): prevent navigation from overlapping video controls #9409
Conversation
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.
This is a working fix, but long term this should be refactored as part of a major refactoring. I'd like to hear @alextran1502 thoughts on this though.
I'm not a big fan of using absolute margins or paddings anywhere, this should be solvable without that and will likely just lead to more problems in the future if we did merge this. I think as you say it probably makes sense to just move the components currently overlapping with the bar to a different area of the screen where they won't overlap. |
Probably don't want to merge this in its current state
I agree, though if it helps justify this PR at least until a better fix can be implemented, this does fix two regressions:
|
@Snowknight26 Another workaround would be to not make the navigation panes be 100% height. Here's the node from Google Photos: The little arrow right |
Whoops, deleted the branch by accident. I think that's definitely a better approach. If we're happy with something like that I can attempt to implement something similar on this PR. |
Closing in favor of #9455. |
Fixes #9405, fixes #9174.
Can't really say I like how the fix is done but there are a couple challenges here:
In my opinion there are several things that could be done differently:
Then there's also mobile and video aspect ratio/viewport aspect ratio to consider. At the moment this change causes the navigation area to be even smaller (since the bottom margins have been doubled):