搜尋 Mozilla 技術支援網站

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

Learn More

Google website in Nightly has search bar thats way too small

  • 4 回覆
  • 6 有這個問題
  • 7 次檢視
  • 最近回覆由 aug6

more options

This is not in relation to the search engine bar next to the www address bar on the top. This is an issue once you are inside google website on nightly. Top of the website, right of the google logo is a searchbar that is supposed to fill parent and stretch side to side. In all other browsers it looks big, in nightly its just over 10 characters wide, which is of course very annoying when you try to search up long terms.

This is not in relation to the search engine bar next to the www address bar on the top. This is an issue once you are inside google website on nightly. Top of the website, right of the google logo is a searchbar that is supposed to fill parent and stretch side to side. In all other browsers it looks big, in nightly its just over 10 characters wide, which is of course very annoying when you try to search up long terms.

被選擇的解決方法

Note that you can also do this with code in the userContent.css file.

@-moz-document domain(www.google.com){.gb_sb .gb_rb{flex-basis: main-size!important;}}

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

  • Create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist
  • Use a plain text editor like Notepad to create a (new) userContent.css file in the chrome folder (file name is case sensitive)
  • Paste the code in the userContent.css file in the editor window

Make sure that you select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as userContent.css. Otherwise Windows may add a hidden .txt file extension and you end up with a not working userContent.css.txt file

從原來的回覆中察看解決方案 👍 0

所有回覆 (4)

more options

hello, please see bug 1051511.

more options

The local "Stylish" workaround did the job for me, posted by Daniel Holbert. Hopefully a stable solution will be released soon. Thanks

more options

選擇的解決方法

Note that you can also do this with code in the userContent.css file.

@-moz-document domain(www.google.com){.gb_sb .gb_rb{flex-basis: main-size!important;}}

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

  • Create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist
  • Use a plain text editor like Notepad to create a (new) userContent.css file in the chrome folder (file name is case sensitive)
  • Paste the code in the userContent.css file in the editor window

Make sure that you select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as userContent.css. Otherwise Windows may add a hidden .txt file extension and you end up with a not working userContent.css.txt file

more options

Ok, thanks for the clear solution, cor-el. Will try it out.

Cheers