ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

V89 Bookmark side bar spacing

  • 3 ردود
  • 1 has this problem
  • 2 views
  • آخر ردّ كتبه Terry

more options

Having read through previous threads on side bar spacing of bookmarks I can't find a solution.

Basically I want to reduce the spacing on the side bar so I can see more bookmarks. Please see enclosed image. Is there an easy way of doing this. I did this some time ago using a Chrome ccs file but I can't remember how and if this works on the latest version of Firefox.

Many thanks Adrian.

Having read through previous threads on side bar spacing of bookmarks I can't find a solution. Basically I want to reduce the spacing on the side bar so I can see more bookmarks. Please see enclosed image. Is there an easy way of doing this. I did this some time ago using a Chrome ccs file but I can't remember how and if this works on the latest version of Firefox. Many thanks Adrian.
Attached screenshots

Modified by Birkleigh

All Replies (3)

more options

You can add this code to the userChrome.css file below the default @namespace line for the side bar.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

/* [PROTON: SIDEBAR] */
@media (-moz-proton) {
  .sidebar-placesTree treechildren::-moz-tree-row { min-height:22px !important; }
  .placesTree         treechildren::-moz-tree-row { min-height:22px !important; }
}

/* [PROTON: MENU] */
@media (-moz-proton) {
  panelview toolbarbutton { padding-block: 0px !important; }
  .panel-subview-body { padding-bottom: 10px !important; }

  menupopup > menuitem, menupopup > menu { padding-block: 0px !important; }
}

In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.

  • toolkit.legacyUserProfileCustomizations.stylesheets = true
more options

Thank you for the reply. I created a .ccs file and added the above. Set toolkit.legacy to true and tried changing all the parameters and no change to bookmark spacing.

Not clear if the first line is part of the .ccs file @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul")

Also you say add the code below default @namespace line for the side bar, not sure what this is.

Does the .ccs file need any other information apart from above. Sorry I am not the sharpest tool in the box when it comes to code configs.

Many thanks Adrian.

more options

Note it is .css (you mention ccs). The namespace line is the one you quote; it isn't needed.