Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Learn More

Sidebar width reduction via userChrome

  • 2 odpowiedzi
  • 1 osoba ma ten problem
  • 476 wyświetleń
  • Ostatnia odpowiedź od 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,

Zmodyfikowany przez qp w dniu

Wybrane rozwiązanie

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

Przeczytaj tę odpowiedź w całym kontekście 👍 2

Wszystkie odpowiedzi (2)

more options

Wybrane rozwiązanie

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

Zmodyfikowany przez cor-el w dniu

more options

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