Fixed look of logout button; width was fixed and thus didn't expand to fit wider...
authorIngo Renner <ingo.renner@typo3.org>
Tue, 10 Feb 2009 18:12:16 +0000 (18:12 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Tue, 10 Feb 2009 18:12:16 +0000 (18:12 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5000 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/classes/class.modulemenu.php
typo3/sysext/t3skin/stylesheets/backend-style.css

index 11c77f4..b80cbcb 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2009-02-10  Ingo Renner  <ingo@typo3.org>
 
        * Fixed a bug with the module menu forgeting it's open/closed states, caused by #9136
+       * Fixed look of logout button; width was fixed and thus didn't expand to fit wider labels coming from translation (credits Steffen Kamper)
 
 2009-02-10  Michael Stucki  <michael@typo3.org>
 
index 3039377..8d717d4 100644 (file)
@@ -524,7 +524,7 @@ class ModuleMenu {
 
                $buttonForm = '
                <form action="logout.php" target="_top">
-                       <input type="submit" value="'.$GLOBALS['LANG']->sL($buttonLabel, 1).'" />
+                       <input type="submit" value="&nbsp;' . $GLOBALS['LANG']->sL($buttonLabel, 1) . '&nbsp;" />
                </form>';
 
                return $buttonForm;
index 5310bf7..9790f5c 100644 (file)
@@ -29,7 +29,6 @@ Description : styles the TYPO3 backend
        background-color: #a2aab8;
        color: #fff;
        border: 1px solid #888;
-       width: 48px;
        height: 18px;
        line-height: 14px;
        vertical-align: baseline;