-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 background being invisible with theme videos #5640
Conversation
I think this should be rebased on the |
7b75abb
to
d68794d
Compare
This comment was marked as outdated.
This comment was marked as outdated.
Sorry my bad, I didn't think of targeting the release branch. Welp, something went wrong with that rebase 🤣 |
Ah there we go, I should have updated the base before pushing I guess... Seems CI choked on it :/ |
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.
I also don't know what the original purpose of this z-index
is. Perhaps it is a leftover.
Seems to work as intended without it.
d68794d
to
ba36747
Compare
(rebased to trigger CI) |
Quality Gate passedIssues Measures |
Fix background being invisible with theme videos Original-merge: 7854c4b Merged-by: thornbill <thornbill@users.noreply.github.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
Changes
I noticed that since I updated to 10.9 the skin's background would disappear when a theme video was playing and therefore some text would be unreadable depending on the video in the background.
Before:
After:
This basically restores pre-10.9 behaviour.
Issues
Couldn't find any open issues for this.
Calling in @grhallenbeck since the cause was introduced in ce4c7ae / #5076 and there might have been a reason I'm not seeing.
The
videoPlayerContainer
andbackgroundContainer
elements are the first 2 elements in the DOM structure though. They are already at the lowest layer of elements, makingz-index
seem redundant here. The issue is that thevideoPlayerContainer
specifies noz-index
at all so the-1
made thebackgroundContainer
be rendered behind the video (or culled entirely, not sure how the actual rendering pipeline works :P ).