Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Learn More

Sidebar width reduction via userChrome

  • 2 respostas
  • 1 tem este problema
  • 476 visualizações
  • Última resposta por 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,

Modificado por qp a

Solução escolhida

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

Ler esta resposta no contexto 👍 2

Todas as respostas (2)

more options

Solução escolhida

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

Modificado por cor-el a

more options

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