Skip to content

Commit 77a3a51

Browse files
author
Malte Dik
committed
don't set width of logo. the template looks nice with non-square logos,
too.
1 parent d143c36 commit 77a3a51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tpl_navbar.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
$logo = tpl_getMediaFile(array(':wiki:logo.png', ':logo.png', 'images/logo.png'), false, $logoSize);
3131
$title = $conf['title'];
3232
$tagline = ($conf['tagline']) ? '<span id="dw__tagline">'.$conf['tagline'].'</span>' : '';
33-
$logo_size = 'width="20" height="20"';
33+
$logo_size = 'height="20"';
3434

3535
if ($tagline) {
36-
$logo_size = 'width="32" height="32" style="margin-top:-5px"';
36+
$logo_size = 'height="32" style="margin-top:-5px"';
3737
}
3838

3939
// display logo and wiki title in a link to the home page

0 commit comments

Comments
 (0)