Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Sidebar width reduction via userChrome

  • 2 trả lời
  • 1 gặp vấn đề này
  • 955 lượt xem
  • Trả lời mới nhất được viết bởi 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,

Được chỉnh sửa bởi qp vào

Giải pháp được chọn

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;
}

Đọc câu trả lời này trong ngữ cảnh 👍 2

Tất cả các câu trả lời (2)

more options

Giải pháp được chọn

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;
}

Được chỉnh sửa bởi cor-el vào

more options

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