-
-
Notifications
You must be signed in to change notification settings - Fork 556
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update vertical-tabs.css to apply dynamic padding for improved layout…
… consistency
- Loading branch information
1 parent
b9ae18a
commit 9203918
Showing
3 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,24 @@ | ||
diff --git a/toolkit/content/widgets/arrowscrollbox.js b/toolkit/content/widgets/arrowscrollbox.js | ||
index 328c770d275ebbaada8a44438eaf738b1a62d985..01256a9b4510b27e180e8b11f1436621ad3e45b5 100644 | ||
index 328c770d275ebbaada8a44438eaf738b1a62d985..c7d178295745ed975f5a3e5dea028dbeeece1704 100644 | ||
--- a/toolkit/content/widgets/arrowscrollbox.js | ||
+++ b/toolkit/content/widgets/arrowscrollbox.js | ||
@@ -639,7 +639,7 @@ | ||
@@ -121,8 +121,10 @@ | ||
); | ||
}); | ||
}); | ||
+ if (this.id !== 'tabbrowser-arrowscrollbox') { | ||
overflowObserver.observe(slot); | ||
overflowObserver.observe(this.scrollbox); | ||
+ } | ||
} | ||
|
||
connectedCallback() { | ||
@@ -639,7 +641,7 @@ | ||
|
||
on_wheel(event) { | ||
// Don't consume the event if we can't scroll. | ||
- if (!this.overflowing) { | ||
+ if (!this.overflowing || true) { // we handle this on ZenStartup | ||
+ if (!this.overflowing || this.id === 'tabbrowser-arrowscrollbox') { // we handle this on ZenStartup | ||
return; | ||
} | ||
|