Description

If you setup a wiki with a smaller logo (height) as the Moin logo you could get this result which is not very nice:

modern_ugly.png

or if you setup it with no logo just only a logo string

modern_no_logo.png

This is probably no bug but I want to note this here, because later on if you have a smaller logo then it is better to know what you could do. -- ReimarBauer 2005-12-18 19:03:50

Steps to reproduce

use a small logo

Example

Details

this wiki revision 330

MoinMoin Version

OS and Version

Python Version

Server Setup

Server Details

Workaround

I think we should setup some margins.

#pagetrail {
    clear: right;
    display: block;
    margin: 0.2em 10px;
    padding: 0;
    font-size: 0.88em;
}

#interwiki {
    margin: 0.2em 10px;
    display: inline;
    font-size: 1em;
}

this gives

/!\ using this with a logo size of moin logo this does look very bad -- ReimarBauer 2005-12-18 19:03:50

modern_logo_with_patch.png

Other workarounds: scale your logo, so it gets bigger. Or use another, bigger logo. Or use no logo_string = u.

no logo makes the same trouble so probably I try to find out why interwiki marging goes to right while pagetrail doesn't, see above.

if logo_string is empty it is formatted without the patch

modern_empty_logo_string.png

Solution

I have tested this with konqueror and firefox for the following logo_string entries: Logo, Logo and text, only text and only logo -- ReimarBauer 2005-12-18 20:29:39

#username {
    margin: 0.2em 10px;
    display: inline;
    padding: 0;
    text-align: right;
    font-size: 0.82em;
    white-space: nowrap;
}

#pagetrail {
    margin: 0.2em 10px;
    clear: right;
    display: inline;
    padding: 0;
    font-size: 0.88em;
}

#interwiki {
    margin: 0.2em 10px;
    display: inline;
    font-size: 1em;
}

A newer version of the css code could be found at MoinMoinBugs/CancelTextEditRemovesSlashesInTitle

Discussion

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/SmallLogoGivesBadLookingPagetrailAndInterwiki (last edited 2007-10-29 19:11:45 by localhost)