diff --git a/application/basilisk/components/preferences/in-content/preferences.js b/application/basilisk/components/preferences/in-content/preferences.js index 9d966bff3b..69b53d0eb2 100644 --- a/application/basilisk/components/preferences/in-content/preferences.js +++ b/application/basilisk/components/preferences/in-content/preferences.js @@ -193,6 +193,18 @@ function helpButtonCommand() { openHelpLink(helpTopic); } +function openAddonsSidebarLink(event) { + event.preventDefault(); + event.stopPropagation(); + + if (window.top && typeof window.top.BrowserOpenAddonsMgr == "function") { + window.top.BrowserOpenAddonsMgr(); + return; + } + + openUILinkIn("about:addons", "tab"); +} + function friendlyPrefCategoryNameToInternalName(aName) { if (aName.startsWith("pane")) return aName; diff --git a/application/basilisk/components/preferences/in-content/preferences.xul b/application/basilisk/components/preferences/in-content/preferences.xul index 1cf1c6b98b..e41ebed4e2 100644 --- a/application/basilisk/components/preferences/in-content/preferences.xul +++ b/application/basilisk/components/preferences/in-content/preferences.xul @@ -87,7 +87,8 @@ - + + &paneAdvanced.title; + + + diff --git a/application/basilisk/themes/shared/incontentprefs/preferences.inc.css b/application/basilisk/themes/shared/incontentprefs/preferences.inc.css index 557aee1991..941313ef22 100644 --- a/application/basilisk/themes/shared/incontentprefs/preferences.inc.css +++ b/application/basilisk/themes/shared/incontentprefs/preferences.inc.css @@ -45,14 +45,26 @@ treecol { /* Category List */ -#categories { +#preferences-sidebar { max-height: 100vh; } +#categories { + max-height: none; +} + #categories > scrollbox { overflow-x: hidden !important; } +#preferences-sidebar-footer { + padding: 8px 15px 12px; +} + +#sidebar-open-addons { + margin: 0; +} + /** * We want the last category to always have non-0 getBoundingClientRect().bottom * so we can use the value to figure out the max-height of the list in