From 85dcc5b9f4d19f8e192d62a75a4ed6470ef8cd7d Mon Sep 17 00:00:00 2001 From: Cody Williams Date: Mon, 14 Feb 2022 00:51:25 -0800 Subject: [PATCH] fix zen mode issues fix error in leaving in display none add zen mode coverage to ribbon details --- midnight.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/midnight.css b/midnight.css index c3aa343..a909fd4 100644 --- a/midnight.css +++ b/midnight.css @@ -226,9 +226,8 @@ body.zen-mode #launcher-pane, body.zen-mode #left-pane { width:0 !important: } /* display:none not friendly - some of these have an interactivity lag when coming back from display:none so another method must be used */ -/* even this isn't 100% fix, delay still happens sometimes, but less often and for less length in time */ -body.zen-mode .title-bar-buttons, body.zen-mode .tab-row-widget, body.zen-mode .title-row, body.zen-mode .ribbon-top-row, body.zen-mode .gutter, body.zen-mode #rest-pane > div:nth-child(1) { - display:none !important; +body.zen-mode .title-bar-buttons, body.zen-mode .tab-row-widget, body.zen-mode .title-row, body.zen-mode .ribbon-container, body.zen-mode .gutter, body.zen-mode #rest-pane > div:nth-child(1) { + visibility: hidden !important; height:0 !important; width:0 !important: }