fix: Fixed inconsistent audio playing on collapsed mode, b=closes #10531, c=tabs, compact-mode

This commit is contained in:
Mr. M
2025-09-26 12:52:58 +02:00
parent a18dc63437
commit 77b1f5d814
5 changed files with 12 additions and 37 deletions

View File

@@ -1,5 +1,5 @@
diff --git a/browser/themes/shared/tabbrowser/tabs.css b/browser/themes/shared/tabbrowser/tabs.css
index 07574cdd974f63b90355f069f0fbc3fa6cd61b50..665b8c431be11dc0ef5f1f30f4c2ef884c231e46 100644
index 07574cdd974f63b90355f069f0fbc3fa6cd61b50..c650da2adf0d1a53b05a09d1b43fa5f52d78a307 100644
--- a/browser/themes/shared/tabbrowser/tabs.css
+++ b/browser/themes/shared/tabbrowser/tabs.css
@@ -21,7 +21,7 @@
@@ -146,6 +146,17 @@ index 07574cdd974f63b90355f069f0fbc3fa6cd61b50..665b8c431be11dc0ef5f1f30f4c2ef88
}
.tab-background {
@@ -1833,8 +1825,8 @@ tab-group {
display: block;
position: absolute;
inset: auto;
- top: -3px;
- inset-inline-start: 2px;
+ top: -2px;
+ inset-inline-start: -2px;
&:-moz-window-inactive {
background-image:
@@ -1953,7 +1945,6 @@ toolbar:not(#TabsToolbar) #firefox-view-button {
list-style-image: url(chrome://global/skin/icons/plus.svg);
}

View File

@@ -572,20 +572,14 @@
/* tab sound icons */
.tab-icon-overlay[soundplaying] {
list-style-image: url('tab-audio-playing-small.svg') !important;
background-image: none !important;
fill: white !important;
}
.tab-icon-overlay[muted] {
list-style-image: url('tab-audio-muted-small.svg') !important;
background-image: none !important;
fill: white !important;
}
.tab-icon-overlay[activemedia-blocked] {
list-style-image: url('tab-audio-blocked-small.svg') !important;
background-image: none !important;
fill: white !important;
}
/* reload/stop animation */