搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

Sidebar width reduction via userChrome

  • 2 个回答
  • 1 人有此问题
  • 476 次查看
  • 最后回复者为 qp

more options

Hello.

It seems I get a problem or two almost always with a new update lately. I have been using an userChrome.css to reduce the width of sidebar but the latest version 107.0 now ignores it and have a wide width even at the narrowest. Mine currently is set as, "#sidebar {min-width:30px !important; max-width:none !important;}" This no longer works. Your support much appreciated.

Regards,

Hello. It seems I get a problem or two almost always with a new update lately. I have been using an userChrome.css to reduce the width of sidebar but the latest version 107.0 now ignores it and have a wide width even at the narrowest. Mine currently is set as, "#sidebar {min-width:30px !important; max-width:none !important;}" This no longer works. Your support much appreciated. Regards,

由qp于修改

被采纳的解决方案

In 107 they have moved the min-width and max-width settings to #sidebar-box, what sounds more logical to me as that is currently the outer containing element.

Current code:

#sidebar-box {
  min-width: 14em;
  max-width: 36em;
  width: 18em;
}

定位到答案原位置 👍 2

所有回复 (2)

more options

选择的解决方案

In 107 they have moved the min-width and max-width settings to #sidebar-box, what sounds more logical to me as that is currently the outer containing element.

Current code:

#sidebar-box {
  min-width: 14em;
  max-width: 36em;
  width: 18em;
}

由cor-el于修改

more options

cor-el, thank you very much! Much appreciated. :)