为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

Tool Bar Icons

more options

I would like to reduce the size of the icons in my toolbar, so that more icons will show across the top of my screen. Can this be done? If so ... how do I do that?

Gratitude!

I would like to reduce the size of the icons in my toolbar, so that more icons will show across the top of my screen. Can this be done? If so ... how do I do that? Gratitude!

被采纳的解决方案

Hi, there is no built-in feature for that.

The community often suggests style rule hacks that could, for example, remove the padding around icons so they pack closer together. The are applied to Firefox using the optional userChrome.css file (https://www.userchrome.org/). In case you don't find a better approach, this is the kind of thing I have in mind:

/* Narrow the spacing between toolbar buttons */
#nav-bar .toolbarbutton-icon {
  width: 20px !important;
  padding-left: 2px !important;
  padding-right: 2px !important;
}
#nav-bar .toolbarbutton-badge {
  margin-inline-end: 0 !important;
  padding: 0 1px 1px !important;
  min-width: 6px !important;
}
#PanelUI-button {
  margin-left: 0 !important;
  border-left: none !important;
}
#PanelUI-menu-button, .toolbarbutton-badge-stack {
  padding-left: 0 !important;
  padding-right: 1px !important;
}
定位到答案原位置 👍 0

所有回复 (1)

more options

选择的解决方案

Hi, there is no built-in feature for that.

The community often suggests style rule hacks that could, for example, remove the padding around icons so they pack closer together. The are applied to Firefox using the optional userChrome.css file (https://www.userchrome.org/). In case you don't find a better approach, this is the kind of thing I have in mind:

/* Narrow the spacing between toolbar buttons */
#nav-bar .toolbarbutton-icon {
  width: 20px !important;
  padding-left: 2px !important;
  padding-right: 2px !important;
}
#nav-bar .toolbarbutton-badge {
  margin-inline-end: 0 !important;
  padding: 0 1px 1px !important;
  min-width: 6px !important;
}
#PanelUI-button {
  margin-left: 0 !important;
  border-left: none !important;
}
#PanelUI-menu-button, .toolbarbutton-badge-stack {
  padding-left: 0 !important;
  padding-right: 1px !important;
}