diff --git a/src/zen/glance/ZenGlanceManager.mjs b/src/zen/glance/ZenGlanceManager.mjs index 22ce96ee6..317d44e13 100644 --- a/src/zen/glance/ZenGlanceManager.mjs +++ b/src/zen/glance/ZenGlanceManager.mjs @@ -172,21 +172,12 @@ const parentSidebarContainer = this.#currentParentTab.linkedBrowser.closest( '.browserSidebarContainer' ); - const isWindows = AppConstants.platform === 'win'; - const backgroundOpenAnimationProps = isWindows - ? { - // Skip blur on Windows, keep a subtle dim/scale to preserve the visual cue - scale: [1, 0.98], - opacity: [1, 0.85], - } - : { - scale: [1, 0.98], - backdropFilter: ['blur(0px)', 'blur(5px)'], - opacity: [1, 0.5], - }; gZenUIManager.motion.animate( parentSidebarContainer, - backgroundOpenAnimationProps, + { + scale: [1, 0.98], + opacity: [1, 0.8], + }, { duration: 0.4, type: 'spring', @@ -331,22 +322,13 @@ sidebarButtons.remove(); }); } - const isWindows = AppConstants.platform === 'win'; - const backgroundCloseAnimationProps = isWindows - ? { - // Mirror open animation without blur on Windows - scale: [0.98, 1], - opacity: [0.85, 1], - } - : { - scale: [0.98, 1], - backdropFilter: ['blur(5px)', 'blur(0px)'], - opacity: [0.5, 1], - }; gZenUIManager.motion .animate( browserSidebarContainer, - backgroundCloseAnimationProps, + { + scale: [0.98, 1], + opacity: [0.8, 1], + }, { duration: 0.4, type: 'spring', diff --git a/src/zen/glance/zen-glance.css b/src/zen/glance/zen-glance.css index d9ad406e9..0b4713912 100644 --- a/src/zen/glance/zen-glance.css +++ b/src/zen/glance/zen-glance.css @@ -9,7 +9,7 @@ display: flex; z-index: 999; - top: 0; + top: 15px; padding: 12px; gap: 12px; max-width: 56px;