X
Tap here to go to the mobile version of the site.

Support Forum

Tighter spacing between lines in bookmark toolbar menus

Posted

Hi,

Would someone know how to tighten the space between lines in the bookmark toolbar? I'm really annoyed with the wasted space that force me to often scroll vertically when choosing a bookmark located in a folder on the toolbar. I find the spacing really reasonable in the bookmarks sidebar. How can I achieve this?

I remember in very old versions of FF (ante 4) that I was able to do so by manipulating the userchrome.css sheet but this option doesn't work anymore. There were also some really neat compact theme from this era but they too became obsolete with double digits versions of Firefox.

Thanks for the help.

(Current Firefox versions: 20 and 21)

Hi, Would someone know how to tighten the space between lines in the bookmark toolbar? I'm really annoyed with the wasted space that force me to often scroll vertically when choosing a bookmark located in a folder on the toolbar. I find the spacing really reasonable in the bookmarks sidebar. How can I achieve this? I remember in very old versions of FF (ante 4) that I was able to do so by manipulating the userchrome.css sheet but this option doesn't work anymore. There were also some really neat compact theme from this era but they too became obsolete with double digits versions of Firefox. Thanks for the help. (Current Firefox versions: 20 and 21)

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0

More Information

cor-el
  • Top 10 Contributor
  • Moderator
17541 solutions 158607 answers

Which code in userChrome.css did you use before?

I use code like this:

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

menupopup menu, menupopup menuitem {margin-top:-3px!important;margin-bottom:0px!important}
menupopup menu:first-child, menupopup menuitem:first-child {margin-top:0px!important}
Which code in userChrome.css did you use before? I use code like this: <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ menupopup menu, menupopup menuitem {margin-top:-3px!important;margin-bottom:0px!important} menupopup menu:first-child, menupopup menuitem:first-child {margin-top:0px!important}</nowiki></pre>