diff --git a/src/browser/components/customizableui/CustomizeMode-sys-mjs.patch b/src/browser/components/customizableui/CustomizeMode-sys-mjs.patch
index 6affb2d5a..38a9fad2d 100644
--- a/src/browser/components/customizableui/CustomizeMode-sys-mjs.patch
+++ b/src/browser/components/customizableui/CustomizeMode-sys-mjs.patch
@@ -1,5 +1,5 @@
diff --git a/browser/components/customizableui/CustomizeMode.sys.mjs b/browser/components/customizableui/CustomizeMode.sys.mjs
-index 41f347130e754ad0ee3416c1a3881211c4d2f777..9f906fd5f11731025abdf55eb5e60a824f8dd81f 100644
+index f303b9fe6b9c046f87be1d3614402563d01a579b..f66501cedc8b2087af5dbbdde73f0c6f77ad133a 100644
--- a/browser/components/customizableui/CustomizeMode.sys.mjs
+++ b/browser/components/customizableui/CustomizeMode.sys.mjs
@@ -354,7 +354,7 @@ CustomizeMode.prototype = {
@@ -11,7 +11,15 @@ index 41f347130e754ad0ee3416c1a3881211c4d2f777..9f906fd5f11731025abdf55eb5e60a82
browser.hidden = true;
customizer.hidden = false;
-@@ -485,7 +485,7 @@ CustomizeMode.prototype = {
+@@ -384,7 +384,6 @@ CustomizeMode.prototype = {
+ this._updateResetButton();
+ this._updateUndoResetButton();
+ this._updateTouchBarButton();
+- this._updateDensityMenu();
+
+ this._skipSourceNodeCheck =
+ Services.prefs.getPrefType(kSkipSourceNodePref) ==
+@@ -485,7 +484,7 @@ CustomizeMode.prototype = {
}
let customizer = document.getElementById("customization-container");
@@ -20,7 +28,28 @@ index 41f347130e754ad0ee3416c1a3881211c4d2f777..9f906fd5f11731025abdf55eb5e60a82
customizer.hidden = true;
browser.hidden = false;
-@@ -2276,6 +2276,20 @@ CustomizeMode.prototype = {
+@@ -1546,20 +1545,6 @@ CustomizeMode.prototype = {
+ touchBarSpacer.hidden = !isTouchBarInitialized;
+ },
+
+- _updateDensityMenu() {
+- // If we're entering Customize Mode, and we're using compact mode,
+- // then show the button after that.
+- let gUIDensity = this.window.gUIDensity;
+- if (gUIDensity.getCurrentDensity().mode == gUIDensity.MODE_COMPACT) {
+- Services.prefs.setBoolPref(kCompactModeShowPref, true);
+- }
+-
+- let button = this.document.getElementById("customization-uidensity-button");
+- button.hidden =
+- !Services.prefs.getBoolPref(kCompactModeShowPref) &&
+- !button.querySelector("#customization-uidensity-menuitem-touch");
+- },
+-
+ handleEvent(aEvent) {
+ switch (aEvent.type) {
+ case "toolbarvisibilitychange":
+@@ -2272,6 +2257,20 @@ CustomizeMode.prototype = {
if (makeSpaceImmediately) {
aItem.setAttribute("notransition", "true");
}
diff --git a/src/browser/components/customizableui/content/customizeMode-inc-xhtml.patch b/src/browser/components/customizableui/content/customizeMode-inc-xhtml.patch
new file mode 100644
index 000000000..4eb8e68b0
--- /dev/null
+++ b/src/browser/components/customizableui/content/customizeMode-inc-xhtml.patch
@@ -0,0 +1,62 @@
+diff --git a/browser/components/customizableui/content/customizeMode.inc.xhtml b/browser/components/customizableui/content/customizeMode.inc.xhtml
+index 38c9dbe15f9e89a63471c5ea4439b2f468f31073..d0f7998e158c9b391acea726231c79f188f20163 100644
+--- a/browser/components/customizableui/content/customizeMode.inc.xhtml
++++ b/browser/components/customizableui/content/customizeMode.inc.xhtml
+@@ -32,57 +32,6 @@
+
+-
+