Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Google website in Nightly has search bar thats way too small

  • 4 ответа
  • 6 имеют эту проблему
  • 7 просмотров
  • Последний ответ от aug6

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)

hello, please see bug 1051511.

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

Выбранное решение

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

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

Cheers