1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-09 01:45:30 +02:00

refactor: improve tab group handling and adjust overflow styles

This commit is contained in:
mr. M 2025-04-06 00:49:06 +02:00
parent b4703baf23
commit a77d2cfed3
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB
6 changed files with 103 additions and 67 deletions

View file

@ -1,5 +1,5 @@
diff --git a/browser/components/tabbrowser/content/tabgroup.js b/browser/components/tabbrowser/content/tabgroup.js
index 670fe2b309863102f63246e26194c8958e28bbb7..88ec6eb101f6b2de6cbb4d3a43d4fbeea4158561 100644
index 670fe2b309863102f63246e26194c8958e28bbb7..692ef1f39ac9d9647034ff5f46f24881f963dc8e 100644
--- a/browser/components/tabbrowser/content/tabgroup.js
+++ b/browser/components/tabbrowser/content/tabgroup.js
@@ -9,10 +9,13 @@
@ -18,6 +18,15 @@ index 670fe2b309863102f63246e26194c8958e28bbb7..88ec6eb101f6b2de6cbb4d3a43d4fbee
`;
/** @type {string} */
@@ -57,7 +60,7 @@
this.initializeAttributeInheritance();
this.#labelElement = this.querySelector(".tab-group-label");
- this.#labelElement.addEventListener("click", this);
+ this.querySelector(".tab-group-label-container").addEventListener("click", this);
this.#updateLabelAriaAttributes();
this.#updateCollapsedAriaAttributes();
@@ -213,7 +216,7 @@
}