If logo width/height is not set, switching to light/dark breaks logo

Ideally, you should set your logo width/height but if either Public logo width or Public logo height is not filled out (or both), it results in the logo loading width="0" or height="0" when switching to light/dark

Easy steps to reproduce:
1.) Remove "Public logo width" value, leaving it blank
2.) Switch style variation to dark
3.) Look at logo

It loads the code like so:

Code:

<img width="0" height="36" alt="Pixel Exit | Dev" src="/dev/styles/default/xenforo/xenforo-logo.svg">

Refreshing...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ