File tree Expand file tree Collapse file tree 4 files changed +26
-4
lines changed Expand file tree Collapse file tree 4 files changed +26
-4
lines changed Original file line number Diff line number Diff line change 1
1
var gZenUIManager = {
2
2
_popupTrackingElements : [ ] ,
3
3
_hoverPausedForExpand : false ,
4
+ _hasLoadedDOM : false ,
4
5
5
6
init ( ) {
6
7
document . addEventListener ( 'popupshowing' , this . onPopupShowing . bind ( this ) ) ;
@@ -23,6 +24,10 @@ var gZenUIManager = {
23
24
)
24
25
) . observe ( document . getElementById ( 'navigator-toolbox' ) ) ;
25
26
27
+ window . addEventListener ( 'DOMContentLoaded' , ( ) => {
28
+ this . _hasLoadedDOM = true ;
29
+ } , { once : true } ) ;
30
+
26
31
window . addEventListener ( 'TabClose' , this . updateTabsToolbar . bind ( this ) ) ;
27
32
} ,
28
33
@@ -213,7 +218,7 @@ var gZenVerticalTabsManager = {
213
218
} ,
214
219
215
220
animateTab ( aTab ) {
216
- if ( ! gZenUIManager . motion ) {
221
+ if ( ! gZenUIManager . motion || ! aTab || ! this . _hasLoadedDOM ) {
217
222
return ;
218
223
}
219
224
// get next visible tab
Original file line number Diff line number Diff line change 72
72
}
73
73
74
74
# browser {
75
- --zen-toolbox-padding : max (.4rem , calc (var (--zen-element-separation ) / 1.5 ));
75
+ --zen-min-toolbox-padding : .4rem ;
76
+ @media (-moz-platform : macos) {
77
+ --zen-min-toolbox-padding : .52rem ;
78
+ }
79
+ --zen-toolbox-padding : max (var (--zen-min-toolbox-padding ), calc (var (--zen-element-separation ) / 1.5 ));
76
80
}
77
81
78
82
: root[zen-single-toolbar = 'true' ] {
Original file line number Diff line number Diff line change
1
+ diff --git a/browser/themes/shared/browser-shared.css b/browser/themes/shared/browser-shared.css
2
+ index b4854731c08b2f463751bb907cb44130ee6b6d2a..18d96cb457f5e57ed00b4eec6d2702287bfc72c7 100644
3
+ --- a/browser/themes/shared/browser-shared.css
4
+ +++ b/browser/themes/shared/browser-shared.css
5
+ @@ -147,8 +147,6 @@ body {
6
+ */
7
+ &.fullscreen-with-menubar {
8
+ z-index: var(--browser-area-z-index-toolbox-while-animating);
9
+ - box-shadow: var(--content-area-shadow);
10
+ - border-bottom-color: var(--chrome-content-separator-color);
11
+ }
12
+
13
+ /* Themes define a set of toolbox foreground and background colors which we
Original file line number Diff line number Diff line change 19
19
"brandShortName" : " Zen" ,
20
20
"brandFullName" : " Zen Browser" ,
21
21
"release" : {
22
- "displayVersion" : " 1.7.3b " ,
22
+ "displayVersion" : " 1.7.4b " ,
23
23
"github" : {
24
24
"repo" : " zen-browser/desktop"
25
25
},
39
39
"brandShortName" : " Zen" ,
40
40
"brandFullName" : " Zen Twilight" ,
41
41
"release" : {
42
- "displayVersion" : " 1.7.2t " ,
42
+ "displayVersion" : " 1.7.4t " ,
43
43
"github" : {
44
44
"repo" : " zen-browser/desktop"
45
45
}
You can’t perform that action at this time.
0 commit comments