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

Initial development for folders

This commit is contained in:
mr. M 2025-04-05 01:26:14 +02:00
parent 9762d74256
commit b4575de026
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB
6 changed files with 308 additions and 100 deletions

View file

@ -0,0 +1,24 @@
diff --git a/browser/components/tabbrowser/content/tabgroup.js b/browser/components/tabbrowser/content/tabgroup.js
index 670fe2b309863102f63246e26194c8958e28bbb7..4cf64a3f4b04542ae8c792cf526b823e8c967953 100644
--- a/browser/components/tabbrowser/content/tabgroup.js
+++ b/browser/components/tabbrowser/content/tabgroup.js
@@ -12,7 +12,9 @@
<vbox class="tab-group-label-container" pack="center">
<label class="tab-group-label" role="button"/>
</vbox>
- <html:slot/>
+ <vbox class="tab-group-container">
+ <html:slot/>
+ </vbox>
`;
/** @type {string} */
@@ -213,7 +215,7 @@
}
get tabs() {
- return Array.from(this.children).filter(node => node.matches("tab"));
+ return Array.from(this.querySelector('.tab-group-container').children).filter(node => node.matches("tab"));
}
/**