搜索 | 用户支持

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

Learn More

How do I get the bookmarks toolbar's width to autofit to its buttons when placed next to tabs?

  • 4 个回答
  • 5 人有此问题
  • 27 次查看
  • 最后回复者为 Squeej23

more options

FF4: I'd like to be able to put the bookmark toolbar right next to my tabs (not above or below). However, when I do this, the width of the toolbar does not shrink down to fit only the buttons, i.e. the bookmarks toolbar takes up a lot of blank space.

This happens whether placing it on the right or left, or when placing tabs in the bookmarks toolbar.

To ask the question in another way, is there any way to autofit the bookmarks toolbar to its contents when placing next to tabs?

FF4: I'd like to be able to put the bookmark toolbar right next to my tabs (not above or below). However, when I do this, the width of the toolbar does not shrink down to fit only the buttons, i.e. the bookmarks toolbar takes up a lot of blank space. This happens whether placing it on the right or left, or when placing tabs in the bookmarks toolbar. To ask the question in another way, is there any way to autofit the bookmarks toolbar to its contents when placing next to tabs?

由Squeej23于修改

被采纳的解决方案

I have the same problem. Roomy Bookmarks Toolbar isn't helpful, it doesn't change this odd behavior of bookmarks bar.

I've come up with so-so workaround: take code for userChrome.css from this question and change max-width to what you need. My code:

#personal-bookmarks { max-width: 200px !important; }

If only you can put there smth like "width: auto" so you don't have to increase width manually after each new bookmark. But that doesn't work.

定位到答案原位置 👍 1

所有回复 (4)

more options

Try using an extension like this which provides a bookmark icons only feature for the bookmarks toolbar.

https://addons.mozilla.org/en-US/firefox/addon/roomy-bookmarks-toolbar/

more options

Thanks for the reply.

That's actually exactly what I intend to do. I've tried this both with and without the extension installed. The attached image includes two screenshots: (top) bookmarks toolbar to the left and (bottom) to the right.

When placed to the left, the tabs end up way over to the right and not up against the bookmark toolbar's contents, restricting the amount of space for tabs to fill.

When placed to the right, the bookmark toolbar's contents are not right justified and, again, restricting room for tabs.

Hopefully this clarifies my question.

more options

选择的解决方案

I have the same problem. Roomy Bookmarks Toolbar isn't helpful, it doesn't change this odd behavior of bookmarks bar.

I've come up with so-so workaround: take code for userChrome.css from this question and change max-width to what you need. My code:

#personal-bookmarks { max-width: 200px !important; }

If only you can put there smth like "width: auto" so you don't have to increase width manually after each new bookmark. But that doesn't work.

more options

Indeed, it's a shame that there isn't some way to use an 'auto' type script. For the time being, though, I'd consider this a useful work around.

Thanks a lot for the tip :-)