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!

搜索 | 用户支持

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

详细了解

URL bar drop down list - item size (Firefox 51)

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

more options

I've just upgraded Firefox to version 51 and the drop down list of the URL bar suddenly became so HUGE that it takes two thirds of the window - both the font is large and spacing between the items is HUGE. I am not blind!!! How on Earth can I reduce the drop down list size to normal? The font size should be EXACTLY the same font as in the URL bar and the item height should be EXACTLY the same as in the URL bar. Now it's twice as much. I've tried Classic Theme Restorer with no luck, neither userChrome.css scripts found on this forum worked. I understand that there are visually impaired people who need large fonts, but they need large fonts everywhere, not just in the drop down list! Why is it different? The font size and spacing should be exactly the same as in the history pane.

I've just upgraded Firefox to version 51 and the drop down list of the URL bar suddenly became so HUGE that it takes two thirds of the window - both the font is large and spacing between the items is HUGE. I am not blind!!! How on Earth can I reduce the drop down list size to normal? The font size should be EXACTLY the same font as in the URL bar and the item height should be EXACTLY the same as in the URL bar. Now it's twice as much. I've tried Classic Theme Restorer with no luck, neither userChrome.css scripts found on this forum worked. I understand that there are visually impaired people who need large fonts, but they need large fonts everywhere, not just in the drop down list! Why is it different? The font size and spacing should be exactly the same as in the history pane.

所有回复 (2)

more options

This is how it looks on my machine:

more options

Add code to the userChrome.css file below the default @namespace line.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

.ac-title-text{font-size: 14px!important}
.ac-url-text  {font-size: 14px!important}

/* urlbar - border */
.autocomplete-richlistitem {padding-top:2px!important; padding-bottom:2px!important}
.autocomplete-richlistitem:not(:first-child) {border-top:1px solid #ddd!important}
.autocomplete-richlistitem[selected="true"] {border-top-color:transparent!important}

/* Constrain drop-down width */
#PopupAutoCompleteRichResult {max-width: 900px !important; margin-left: 0 !important;}

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

See also;

由cor-el于修改