diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js index b428fe9b0989..7e343ce6f1a6 100644 --- a/browser/app/profile/firefox.js +++ b/browser/app/profile/firefox.js @@ -2107,7 +2107,7 @@ pref("sidebar.visibility", "always-show"); // as a backup to restore the sidebar UI state when a user has PPB mode on // or has history cleared on browser close. pref("sidebar.backupState", "{}"); -pref("sidebar.expandOnHover", false); +pref("sidebar.expandOnHover", true); pref("sidebar.old-sidebar.has-used", false); pref("sidebar.new-sidebar.has-used", false); diff --git a/browser/components/sidebar/sidebar-customize.css b/browser/components/sidebar/sidebar-customize.css index 66ccbc38c7dd..e037457cde05 100644 --- a/browser/components/sidebar/sidebar-customize.css +++ b/browser/components/sidebar/sidebar-customize.css @@ -14,14 +14,6 @@ } } -.setting-message { - /* Pull the message-bar over the input box's border */ - margin-block-end: calc(-1 * var(--sidebar-box-border-width)); - margin-inline: calc(-1 * var(--space-medium) - var(--sidebar-box-border-width)); - /* Remove the top radius, match the bottom radius to the input box's radius */ - --message-bar-border-radius: 0 0 var(--border-radius-medium) var(--border-radius-medium); -} - .medium-top-margin { margin-block-start: var(--space-medium); } diff --git a/browser/components/sidebar/sidebar-customize.mjs b/browser/components/sidebar/sidebar-customize.mjs index 92f200f314aa..2685afa64604 100644 --- a/browser/components/sidebar/sidebar-customize.mjs +++ b/browser/components/sidebar/sidebar-customize.mjs @@ -22,8 +22,6 @@ const VISIBILITY_SETTING_PREF = "sidebar.visibility"; const EXPAND_ON_HOVER_PREF = "sidebar.expandOnHover"; const POSITION_SETTING_PREF = "sidebar.position_start"; const TAB_DIRECTION_SETTING_PREF = "sidebar.verticalTabs"; -const EXPAND_ON_HOVER_MESSAGE_DISMISSED_PREF = - "sidebar.expandOnHoverMessage.dismissed"; export class SidebarCustomize extends SidebarPage { constructor() { @@ -251,26 +249,6 @@ export class SidebarCustomize extends SidebarPage { `; } - expandOnHoverMessageTemplate() { - if ( - !Services.prefs.getBoolPref(EXPAND_ON_HOVER_MESSAGE_DISMISSED_PREF, false) - ) { - return html` - - `; - } - return ""; - } - - onExpandOnHoverMessageDismissed() { - Services.prefs.setBoolPref(EXPAND_ON_HOVER_MESSAGE_DISMISSED_PREF, true); - } - render() { let extensions = this.getWindow().SidebarController.getExtensions(); return html` @@ -322,7 +300,6 @@ export class SidebarCustomize extends SidebarPage { ` )} - ${this.expandOnHoverMessageTemplate()}