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 2699077 commit 62c527a
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/browser/themes/shared/customizableui/customizeMode-css.patch
Original file line number Diff line number Diff line change
@@ -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);
}

Expand All @@ -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,
Expand Down

0 comments on commit 62c527a

Please sign in to comment.