搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

firefox sidebar/library spacing

  • 5 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 kuopiofi

more options

Updated to the latest Firefox today and found that the same old problem from FF 25 is still around. There's extra added blank space between each bookmark in my sidebar and library. Anyone know how to fix this? I tried https://support.mozilla.org/en-US/questions/1183976 but it still leaves Library with extra space, sidebar seems to work but still bit too much space for my taste.

Updated to the latest Firefox today and found that the same old problem from FF 25 is still around. There's extra added blank space between each bookmark in my sidebar and library. Anyone know how to fix this? I tried https://support.mozilla.org/en-US/questions/1183976 but it still leaves Library with extra space, sidebar seems to work but still bit too much space for my taste.
已附加屏幕截图

所有回复 (5)

more options

Also, the font-size is notably larger than elsewhere on menubar, so I'm dropping that coding.

more options

https://support.mozilla.org/en-US/questions/1183976

The userChrome.css code used in that thread doesn't address the Library window at all. You need the 'selectors' code for the Library. I avoid using the Library window as much as possible, and don't ever bother with the "perceived faults" that I see there.

As far as spacing of the Sidebar, the font heights, margins and padding probably are off from what you want; vary those settings until you hit your "sweet-spot".

Perhaps this reddit grouping of postings has the fix that you desire, or at least gets you a bit closer to your desired results. https://www.reddit.com/r/FirefoxCSS/

more options

I found that that page via https://www.reddit.com/r/FirefoxCSS/comments/9l1jbe/reduce_spacing_of_sidebar_bookmarks_old_code_no/

Which ones are the font heights, margins and padding specifically? I tried some changes but got nothing.

more options

If you can't find a FirefoxCSS thread @reddit newer than Fx 63 about this issue, why don't you start a new thread there?

You're going in circles trying to fix code that was posted here at SUMO in the days of Firefox 57 that you reached from a reddit thread from the days of Firefox 63; work forwards rather than backwards when seeking code.

more options

OK, took some doing and gobbling together but current one seems to work. Could someone more skilled check that I didn't create something that causes problems in the future?

@-moz-document url(chrome://browser/content/places/places.xul){

 #placesView treechildren::-moz-tree-row{min-height: 17px !important;}

} .sidebar-placesTreechildren::-moz-tree-row{height: 1.6em !important;}

  1. bookmarks-view {
  padding: 0px !important;
  font-size: 12px !important;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}
#bookmarks-view treechildren::-moz-tree-row {
  min-height: 12px !important;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}