Skip to content

Fix custom mini player covered by page content (z-index)#3719

Merged
ImprovedTube merged 2 commits intocode-charity:masterfrom
Greal-dev:fix/issue-3494-fix-custom-mini-player-covered-by-page-c
Mar 20, 2026
Merged

Fix custom mini player covered by page content (z-index)#3719
ImprovedTube merged 2 commits intocode-charity:masterfrom
Greal-dev:fix/issue-3494-fix-custom-mini-player-covered-by-page-c

Conversation

@Greal-dev
Copy link
Copy Markdown
Contributor

The custom mini player was being covered by page content (comments section, recommended videos) when scrolling down. This fix adds a high z-index to .it-mini-player to ensure it always renders above other page elements, matching the behavior expected from a floating mini player.

Addresses #3494.

@ImprovedTube
Copy link
Copy Markdown
Member

thank you! @Greal-dev Was 2200 the highest you found yet?

This is what we do in CSS yet: html[it-mini-player='true']
(added for consistency. in future we can convert a lot of CSS to be more conditional,
but also allow all the same rules uBlockOrigin allows or better)

@ImprovedTube ImprovedTube merged commit f211cdf into code-charity:master Mar 20, 2026
@ImprovedTube ImprovedTube added the Knowledge Base / Documentation for contributors We should repurpose this for future reference / Wiki / Education / Introduction label Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Knowledge Base / Documentation for contributors We should repurpose this for future reference / Wiki / Education / Introduction

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants