Skip to content

Commit

Permalink
Hide toolbar-visibility button in customize mode to reduce user confu…
Browse files Browse the repository at this point in the history
…sion
  • Loading branch information
Richard-Woessner committed Nov 7, 2024
1 parent bd3c8d1 commit e992400
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/browser/themes/shared/customizableui/customizeMode-css.patch
Original file line number Diff line number Diff line change
@@ -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 {

0 comments on commit e992400

Please sign in to comment.