4.0.0 Minor layout bug

Hi,

I discovered a minor layout bug in 4.0.0.

When using a custom logo and even though having LogoImageWidth and LogoImageHeight set in the
config, the logo will be scaled to the full height of the top bar. This is annoying, if the logo is
smaller than the bar.

This is because of a css setting in layout.css:

— share/html/NoAuth/css/aileron//layout.css.org 2011-05-05 21:58:55.000000000 +0200
+++ share/html/NoAuth/css/aileron/layout.css 2011-05-05 21:58:15.000000000 +0200
@@ -117,7 +117,7 @@

div#logo a img {
border: 0;

  • height: 100% !important;
  • height: auto !important;
    width: auto !important;
    float: right;
    }

This fixes the problem.

Best regards,

Lars Brï¿œuer
MPeX.net GmbH / Werner-Voᅵ-Damm 62 / D-12101 Berlin / Germany
MPeXnetworks / www.mpexnetworks.de
Tel: ++49-30-78097 180 / Fax: ++49-30-78097 181

Sitz, Registergericht: Berlin, Amtsgericht Charlottenburg, HRB 76688
Geschï¿œftsfï¿œhrer: Lars Brï¿œuer, Gregor Lawatscheck

— share/html/NoAuth/css/aileron//layout.css.org 2011-05-05 21:58:55.000000000 +0200
+++ share/html/NoAuth/css/aileron/layout.css 2011-05-05 21:58:15.000000000 +0200
@@ -117,7 +117,7 @@

div#logo a img {
border: 0;

  • height: 100% !important;
  • height: auto !important;

Making this change means that images larger than the top bar will
overflow it and nothing will ever be scaled.

max-height: 100% could be used instead, but that only works on IE7 and
above.

Thomas