본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

이 쓰레드는 잠기고 보존되었습니다. 만약 도움이 필요하시면 새로운 질문을 올려주세요.

layout.css.scrollbar-width.enabled not working

  • 7 답장
  • 1 이 문제를 만남
  • 147 보기
  • 최종 답변자: cor-el

more options

I just upgraded to Firefox 79.0, and now the scrollbars on outlook.com are narrow with no scroll buttons. I fixed this problem long ago by setting layout.css.scrollbar-width.enabled to false. It's still set, but now the scrollbars are back to being narrow.

I just upgraded to Firefox 79.0, and now the scrollbars on outlook.com are narrow with no scroll buttons. I fixed this problem long ago by setting layout.css.scrollbar-width.enabled to false. It's still set, but now the scrollbars are back to being narrow.

선택된 해결법

Support for the prefs layout.css.scrollbar-width.enabled and layout.css.scrollbar-color.enabled has been removed in Firefox 79.

  • bug 1641324 - Remove the layout.css.scrollbar-width.enabled and layout.css.scrollbar-color.enabled prefs. [79]

(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
)


As a workaround you can add this code to the userContent.css file.

Add code to the userContent.css file.


*{ scrollbar-color: auto !important; scrollbar-width: auto !important; }

It is not that difficult to create userContent.css if you have never used it.

The first step is to open the "Help -> Troubleshooting Information" page and find the button to access the profile folder.

You can find this button under the "Application Basics" section as "Profile Folder -> Open Folder".
If you click this button then you open the profile folder in the Windows File Explorer.
You need to create a folder with the name chrome in this folder (name is all lowercase).
In the chrome folder you need to create a plain text file with the name userContent.css (name is case sensitive).
In this userContent.css text file you paste the text posted.

In Windows saving the file is usually the only time things get more complicated because Windows can silently add a .txt file extension and you end up with a file named userContent.css.txt.
To avoid this you need to make sure to select "All files" in the dialog to save the file in the text editor using "Save File as".

You need to close (Quit/Exit) and restart Firefox when you create or modify the userContent.css file.

See also:

In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.

  • toolkit.legacyUserProfileCustomizations.stylesheets = true

See:

문맥에 따라 이 답변을 읽어주세요 👍 1

모든 댓글 (7)

more options

선택된 해결법

Support for the prefs layout.css.scrollbar-width.enabled and layout.css.scrollbar-color.enabled has been removed in Firefox 79.

  • bug 1641324 - Remove the layout.css.scrollbar-width.enabled and layout.css.scrollbar-color.enabled prefs. [79]

(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
)


As a workaround you can add this code to the userContent.css file.

Add code to the userContent.css file.


*{ scrollbar-color: auto !important; scrollbar-width: auto !important; }

It is not that difficult to create userContent.css if you have never used it.

The first step is to open the "Help -> Troubleshooting Information" page and find the button to access the profile folder.

You can find this button under the "Application Basics" section as "Profile Folder -> Open Folder".
If you click this button then you open the profile folder in the Windows File Explorer.
You need to create a folder with the name chrome in this folder (name is all lowercase).
In the chrome folder you need to create a plain text file with the name userContent.css (name is case sensitive).
In this userContent.css text file you paste the text posted.

In Windows saving the file is usually the only time things get more complicated because Windows can silently add a .txt file extension and you end up with a file named userContent.css.txt.
To avoid this you need to make sure to select "All files" in the dialog to save the file in the text editor using "Save File as".

You need to close (Quit/Exit) and restart Firefox when you create or modify the userContent.css file.

See also:

In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.

  • toolkit.legacyUserProfileCustomizations.stylesheets = true

See:

글쓴이 cor-el 수정일시

more options

That worked. Thank you very much.

more options

Does not work for me: Ubuntu 20.04.1 LTS Firefox 82.0 (64-bit)

Created "chrome" folder within profile folder. Created "userContent.css" Copied and pasted:

  • {scrollbar-color:auto!important; scrollbar-width:auto!important;}

into userContent.css verified (it is) toolkit.legacyUserProfileCustomizations.stylesheets = true . Restarted Firefox. No change. I fail to see how the pasted string would increase or otherwise modify the existing width of the scrollbar. Thanks.

글쓴이 jeffschips 수정일시

more options

@jeffschips

Is that in the profile folder location that you reach via the button on the about:support page ?

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

Try the Firefox version from the official Mozilla server if you currently use a version from the repositories of your Linux distribution.


  • Bug 1645676 - Removing layout.css.scrollbar-color.enabled pref causes accessibility/usability issue

(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
)

글쓴이 cor-el 수정일시

more options

@jeffschips

Do you have other code in userContent.css that might be causing problems ?

Does it work if you place the code at the top of userContent.css ?

Can you post the content of your userContent.css ?

more options

Thanks all for the quick reply! Wow that was fast!

My userContent.css only contains the suggested string.

And yes I got the directory location from the suggested method.

But my research shows that the string suggested only sets the width to the default on the "system" so how would that string increase the width beyond what it is already, which is way to narrow to enjoy and which, I presume, is the default anyway.

I will now try using the firefox version from the mozilla site and report back.

more options

I noticed that jeffschips created a new thread, so lets continue there.