From 62c527a37b5937a3439cda1be56071227a6ef0de Mon Sep 17 00:00:00 2001 From: ricky Date: Thu, 7 Nov 2024 12:05:43 -0500 Subject: [PATCH] Hide toolbar-visibility button in customize mode to reduce user confusion --- .../shared/customizableui/customizeMode-css.patch | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/browser/themes/shared/customizableui/customizeMode-css.patch b/src/browser/themes/shared/customizableui/customizeMode-css.patch index 54b890f4c..2748fd1e5 100644 --- a/src/browser/themes/shared/customizableui/customizeMode-css.patch +++ b/src/browser/themes/shared/customizableui/customizeMode-css.patch @@ -1,8 +1,8 @@ diff --git a/browser/themes/shared/customizableui/customizeMode.css b/browser/themes/shared/customizableui/customizeMode.css -index 622eff11b121abd354b48359951a1f8d6612380c..6d753dea4ffb4d84a57a8ab496130faa764a63c0 100644 +index 622eff11b121abd354b48359951a1f8d6612380c..f8b028db22527bab91b5a4711007dacbb5745bf8 100644 --- a/browser/themes/shared/customizableui/customizeMode.css +++ b/browser/themes/shared/customizableui/customizeMode.css -@@ -392,6 +392,15 @@ toolbarpaletteitem { +@@ -392,6 +392,24 @@ toolbarpaletteitem { transform: scaleX(-1); } @@ -14,6 +14,15 @@ index 622eff11b121abd354b48359951a1f8d6612380c..6d753dea4ffb4d84a57a8ab496130faa +#customization-uidensity-button { + display: none !important; +} ++ ++/* ++ Added for zen browser ++ This is a hack to hide the toolbar-visibility button in the customize mode ++ In order to not confuse the user with the toolbar-visibility options ++*/ ++#customization-toolbar-visibility-button { ++ display: none !important; ++} + #customization-panelWrapper, #customization-panelWrapper > .panel-arrowcontent,