搜尋 Mozilla 技術支援網站

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

Learn More

Cannot set font-weight of web-extension's setting

  • 2 回覆
  • 1 有這個問題
  • 20 次檢視
  • 最近回覆由 ppggff

more options

I am using Firefox 57.0b3 with some web-extensions on windows 7. After install the web-extension, namely tree style tab, I found the tab title in sidebar and the settings in add-on manager of this extension using bold font. It should using normal font as default.

Finally, I found firefox use the font setting of 'active window title bar' as default for the setting page and sidebar. After set font weight of 'active window title bar' from bold to normal in control panel, every thing back to normal.

I am using Firefox 57.0b3 with some web-extensions on windows 7. After install the web-extension, namely tree style tab, I found the tab title in sidebar and the settings in add-on manager of this extension using bold font. It should using normal font as default. Finally, I found firefox use the font setting of 'active window title bar' as default for the setting page and sidebar. After set font weight of 'active window title bar' from bold to normal in control panel, every thing back to normal.

所有回覆 (2)

more options

Attached images are screenshots of some web-extensions using bold font.

more options

After some discuss in https://github.com/piroor/treestyletab/issues/1379, It seems this is the design behavior.

quote from the discuss: "caption" system font is applied as the default font in addon contents. https://dxr.mozilla.org/mozilla-central/source/browser/components/extensions/extension.css?q=file%3Aextension.css&redirect_type=single#13