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

搜索 | 用户支持

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

详细了解

Disable edit bookmarks panel resize animation

  • 2 个回答
  • 2 人有此问题
  • 3 次查看
  • 最后回复者为 nonat

more options

Hi, id like to set a max width on the edit bookmark panel so its compatible with the expanded folder tree: setting a max width on the main panel is simple, but cant find the id to set a max width on the folder tree or container block its part of

eg http://s3.postimg.org/rl7xpf1s3/folder_tree_question.png

Hi, id like to set a max width on the edit bookmark panel so its compatible with the expanded folder tree: setting a max width on the main panel is simple, but cant find the id to set a max width on the folder tree or container block its part of eg http://s3.postimg.org/rl7xpf1s3/folder_tree_question.png

由nonat于修改

被采纳的解决方案

There are these rules:

  • line 33:
    chrome://browser/skin/places/editBookmarkOverlay.css
#editBookmarkPanelContent {
  min-width: 23em;
}
  • line 2190:
    chrome://browser/skin/browser.css
/* Implements editBookmarkPanel resizing on folderTree un-collapse. */
#editBMPanel_folderTree {
  min-width: 27em;
}

Note that your System Details List shows multiple Flash plugins.

  • Shockwave Flash 15.0 r0
  • Shockwave Flash 14.0 r0
  • Shockwave Flash 12.0 r0

You can find the installation path of all plugins on the about:plugins page.

You can check the Flash player installation folder for multiple Flash player plugins and remove older version(s) of the plugin (NPSWF32) and possibly (re)install the latest Flash player.

  • (32 bit Windows) C:\Windows\System32\Macromed\Flash\
  • (64 bit Windows) C:\Windows\SysWOW64\Macromed\Flash\
定位到答案原位置 👍 0

所有回复 (2)

more options

选择的解决方案

There are these rules:

  • line 33:
    chrome://browser/skin/places/editBookmarkOverlay.css
#editBookmarkPanelContent {
  min-width: 23em;
}
  • line 2190:
    chrome://browser/skin/browser.css
/* Implements editBookmarkPanel resizing on folderTree un-collapse. */
#editBMPanel_folderTree {
  min-width: 27em;
}

Note that your System Details List shows multiple Flash plugins.

  • Shockwave Flash 15.0 r0
  • Shockwave Flash 14.0 r0
  • Shockwave Flash 12.0 r0

You can find the installation path of all plugins on the about:plugins page.

You can check the Flash player installation folder for multiple Flash player plugins and remove older version(s) of the plugin (NPSWF32) and possibly (re)install the latest Flash player.

  • (32 bit Windows) C:\Windows\System32\Macromed\Flash\
  • (64 bit Windows) C:\Windows\SysWOW64\Macromed\Flash\
more options

hey cor-el, so shouldve looked in browser.css after all, familiar with that one so mightve guessed the offending rule be there

ok so looks like the way to do it is using

   panel[type="arrow"] #editBookmarkPanelContent {
       max-width: 23em !important; }
   panel[type="arrow"] #editBMPanel_folderTree,
   panel[type="arrow"] #editBMPanel_tagsSelector {
       min-width: 18.2em !important;
       max-width: 18.2em !important; }

but does look better taking advantage of the whole width like

   panel[type="arrow"] #editBookmarkPanelContent {
       max-width: 23em !important; }
   panel[type="arrow"] #editBMPanel_folderTree,
   panel[type="arrow"] #editBMPanel_tagsSelector {
       min-width: 22.3em !important;
       max-width: 22.3em !important;
       margin-left: -3.4em !important; }
   panel[type="arrow"] #editBMPanel_newFolderBox{
      -moz-margin-start: 12.3em !important;}

or made closer to the default width when expanded

   panel[type="arrow"] #editBookmarkPanelContent {
       min-width: 27em !important;
       max-width: 27em !important;  }
   panel[type="arrow"] #editBMPanel_folderTree,
   panel[type="arrow"] #editBMPanel_tagsSelector {
       min-width: 26.3em !important;
       max-width: 26.3em !important;
       margin-left: -3.4em !important; }
   panel[type="arrow"] #editBMPanel_newFolderBox{
      -moz-margin-start: 16.3em !important;}

the panel[type="arrow"] prefix is only needed if its part of a global style using @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); instead of @-moz-document url("chrome://browser/content/browser.xul") { } because gatekeeper will apply it to bookmarks library aswell, despite the element names suggesting theyre specific to the toolbar panel theyre also used in the library. Also the expanded width snippets move the new folder button to the right cause its only partly responsive on the far left having only half the button clickable

anyway thanks for pointing the right direction, and pointing out the multiple flash plugins, cheers

由nonat于修改