From 34f44c8ce7e61b7c42fdfe91a53d279f8469af60 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sat, 17 Apr 2021 13:41:48 +0300 Subject: [PATCH] show secondary-label if video in the tab is in PiP mode --- chrome/inline_tab_audio_icons.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/chrome/inline_tab_audio_icons.css b/chrome/inline_tab_audio_icons.css index 8947cd7..0162181 100644 --- a/chrome/inline_tab_audio_icons.css +++ b/chrome/inline_tab_audio_icons.css @@ -10,4 +10,10 @@ See the above repository for updates as well as full license text. */ .tab-icon-overlay,.tab-icon-image{ opacity: 1 !important; } /* secondary audio label can be removed if you use this style, but feel free to remove the next line if you want to show it. */ -.tab-secondary-label{ display: none } \ No newline at end of file +.tab-secondary-label{ display: none } + +/* secondary audio label ain't much use with this style, but feel free to remove the next line if you want to show it. */ +.tab-secondary-label{ display: none } + +/* show the secondary label when video is in PiP */ +.tab-secondary-label[pictureinpicture]{ display: -moz-box } \ No newline at end of file