為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

  • 2 回覆
  • 4 有這個問題
  • 7 次檢視
  • 最近回覆由 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 於 修改