We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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

  • 4 trả lời
  • 5 gặp vấn đề này
  • 3 lượt xem
  • Trả lời mới nhất được viết bởi 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?

Được chỉnh sửa bởi Squeej23 vào

Giải pháp được chọn

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.

Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (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

Giải pháp được chọn

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 :-)