mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-17 23:32:02 +00:00
Fixed "nulls" appearing for macos users
This commit is contained in:
@@ -195,7 +195,9 @@ var gZenVerticalTabsManager = {
|
||||
get actualWindowButtons() {
|
||||
// we have multiple ".titlebar-buttonbox-container" in the DOM, because of the titlebar
|
||||
if (!this.__actualWindowButtons) {
|
||||
this.__actualWindowButtons = document.querySelector('#nav-bar .titlebar-buttonbox-container');
|
||||
this.__actualWindowButtons = AppConstants.platform === 'macosx' ?
|
||||
document.querySelector('.titlebar-buttonbox-container') : // TODO: test if it works 100% of the time
|
||||
document.querySelector('#nav-bar .titlebar-buttonbox-container');
|
||||
}
|
||||
return this.__actualWindowButtons;
|
||||
},
|
||||
|
@@ -24,7 +24,7 @@
|
||||
--zen-compact-float: calc(var(--zen-element-separation) - 1px);
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
transition: transform 0.15s ease-in-out, opacity 0.1s ease-in-out;
|
||||
transition: transform 0.25s ease-in-out, opacity 0.1s ease-in-out;
|
||||
right: calc(100% - var(--zen-element-separation));
|
||||
top: 0;
|
||||
bottom: var(--zen-element-separation);
|
||||
|
@@ -234,7 +234,7 @@
|
||||
|
||||
& .tabbrowser-tab {
|
||||
animation: none;
|
||||
transition: none;
|
||||
transition: scale 0.1s ease-in-out;
|
||||
&[fadein='true']:not([zen-essential='true']) {
|
||||
#tabbrowser-tabs[zen-workspace-animation='previous'] & {
|
||||
animation: zen-slide-in-reverse 0.2s ease-in-out;
|
||||
@@ -245,6 +245,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
&:not([zen-essential='true']):active {
|
||||
scale: 0.98;
|
||||
}
|
||||
|
||||
max-width: unset;
|
||||
padding: 0 !important;
|
||||
|
||||
|
Reference in New Issue
Block a user