搜索 | 用户支持

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

详细了解

How to decrease width of the dropdown bookmark panel (FF 11)?

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

How to decrease width of the dropdown bookmark panel (FF 11)?

This panel is too wide and covers too much space in underlying windows. The book marks text should not be truncated but some way needs to be found to allow the entire text of any line to be viewed when the cursor lands on it. Much of the information in "HELP" related to this question turns out to be very very old (essentially meaningless in 2012).

How to decrease width of the dropdown bookmark panel (FF 11)? This panel is too wide and covers too much space in underlying windows. The book marks text should not be truncated but some way needs to be found to allow the entire text of any line to be viewed when the cursor lands on it. Much of the information in "HELP" related to this question turns out to be very very old (essentially meaningless in 2012).

由wmtross于修改

所有回复 (2)

more options

My bookmarks truncate, but only after many, many characters. Then you can view the full title, as well as the URL, in the mouseover tooltip.

To narrow the width of the bookmark menus:

(1) There might be an existing add-on targeted to this; I didn't search.

(2) You could create a custom style rule. One way to do this is to use the Stylish extension and add the following userstyle (create a blank rule first):


@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); #bookmarksMenu menupopup {max-width:15em;}

That works in my test, but you can tweak that maximum width to suit your needs. (1 "em" is about 16 pixels). Stylish can be installed from here: Stylish :: Add-ons for Firefox.

(3) You could create a custom style rule in the file userChrome.css, which you can add to your personal Firefox profile. I didn't test it.

more options

You may have to add or use different selectors depending on where you want to achieve this with code in userChrome.css or Stylish.
The #bookmarksMenu selector only works for the Bookmarks menu and not for other drop down menus like the Bookmarks menu in the Firefox menu button or folders on the Bookmarks Toolbar or the Bookmarks menu button.

#appmenu_bookmarksPopup menuitem,
#bookmarksMenuPopup .bookmark-item,
#BMB_bookmarksPopup .bookmark-item ,
#personal-bookmarks menupopup .bookmark-item {
  max-width:15em;
}