Skip to content

Commit

Permalink
Hide density button in customize mode to reduce user confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard-Woessner committed Nov 7, 2024
1 parent bd3c8d1 commit 2699077
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..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 {

0 comments on commit 2699077

Please sign in to comment.