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

BROKEN PR thanks GitHub: Fix second to last tooltip overflowing due to our wide player controls #6526

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,17 @@
:deep(.shaka-tooltips-on button:hover::after) {
margin-bottom: 8px;
}

/*
similar to the styling that shaka-player applies with last-child
needed as we have made the controls a lot wider than they were intended to be :/
*/
:deep(.shaka-tooltips-on button:nth-last-child(2):active::after),
:deep(.shaka-tooltips-on button:nth-last-child(2):focus-visible::after),
:deep(.shaka-tooltips-on button:nth-last-child(2):hover::after) {
left: 32px;
transform: translateX(-80%);
}
}

@media only screen and (width <=1350px) {
Expand Down
Loading