From e99240012bf6ac6b176fc52338c7256b136e364f Mon Sep 17 00:00:00 2001 From: ricky Date: Thu, 7 Nov 2024 17:57:00 -0500 Subject: [PATCH] Hide toolbar-visibility button in customize mode to reduce user confusion --- .../customizableui/customizeMode-css.patch | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/browser/themes/shared/customizableui/customizeMode-css.patch diff --git a/src/browser/themes/shared/customizableui/customizeMode-css.patch b/src/browser/themes/shared/customizableui/customizeMode-css.patch new file mode 100644 index 000000000..6fd5ef6c5 --- /dev/null +++ b/src/browser/themes/shared/customizableui/customizeMode-css.patch @@ -0,0 +1,20 @@ +diff --git a/browser/themes/shared/customizableui/customizeMode.css b/browser/themes/shared/customizableui/customizeMode.css +index 622eff11b121abd354b48359951a1f8d6612380c..fce3e126fa741b579399bf39969817b3128b3e37 100644 +--- a/browser/themes/shared/customizableui/customizeMode.css ++++ b/browser/themes/shared/customizableui/customizeMode.css +@@ -392,6 +392,15 @@ toolbarpaletteitem { + transform: scaleX(-1); + } + ++/* ++ 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, + #customization-panelHolder {