From 269907781b36f58a1529ec74575f03686ebf6c8c Mon Sep 17 00:00:00 2001 From: ricky Date: Thu, 7 Nov 2024 11:47:47 -0500 Subject: [PATCH] Hide density 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..54b890f4c --- /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..6d753dea4ffb4d84a57a8ab496130faa764a63c0 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 density button in the customize mode ++ In order to not confuse the user with the density options ++*/ ++#customization-uidensity-button { ++ display: none !important; ++} ++ + #customization-panelWrapper, + #customization-panelWrapper > .panel-arrowcontent, + #customization-panelHolder {