Fixed issue #16861: Minor alignment issues in TCE forms
authorIngo Renner <ingo.renner@typo3.org>
Tue, 28 Dec 2010 12:26:22 +0000 (12:26 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Tue, 28 Dec 2010 12:26:22 +0000 (12:26 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9945 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tceforms.php
typo3/sysext/t3skin/stylesheets/structure/element_tceforms.css
typo3/templates/tceforms.html

index f049152..13e4b20 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-12-28  Ingo Renner  <ingo@typo3.org>
+
+       * Fixed issue #16861: Minor alignment issues in TCE forms
+
 2010-12-28  Steffen Kamper  <steffen@typo3.org>
 
        * Updated Workspaces and Version extension to version 4.5.0beta3. See their ChangeLog for details.
index be9a706..90bc332 100644 (file)
@@ -2313,13 +2313,13 @@ class t3lib_TCEforms {
                                $tempFT = t3lib_div::trimExplode(',', $allowed, TRUE);
                                if (!strcmp(trim($tempFT[0]), '*')) {
                                        $onlySingleTableAllowed = false;
-                                       $info .= '<span class="nobr">&nbsp;&nbsp;&nbsp;&nbsp;' .
+                                       $info .= '<span class="nobr">' .
                                                         htmlspecialchars($this->getLL('l_allTables')) .
                                                         '</span><br />';
                                } elseif ($tempFT) {
                                        $onlySingleTableAllowed = (count($tempFT) == 1);
                                        foreach ($tempFT as $theT) {
-                                               $info .= '<span class="nobr">&nbsp;&nbsp;&nbsp;&nbsp;' .
+                                               $info .= '<span class="nobr">' .
                                                                 t3lib_iconWorks::getSpriteIconForRecord($theT, array()) .
                                                                 htmlspecialchars($this->sL($GLOBALS['TCA'][$theT]['ctrl']['title'])) .
                                                                 '</span><br />';
index aea7f28..0e17542 100644 (file)
@@ -48,7 +48,7 @@ img.t3-TCEforms-contentchangedPaletteImg {
 }
 
 table.typo3-TCEforms {
-       width: 93%;
+       width: 100%;
 }
 
 table.typo3-TCEforms tr td.t3-form-col1,
@@ -61,6 +61,10 @@ table.typo3-TCEforms tr.typo3-TCEforms-recHeaderRow td {
        padding-bottom: 20px;
 }
 
+table.wrapperTable tr.class-main2 td.palette-header {
+       padding-left: 10px;
+}
+
 table.typo3-TCEforms .bgColor2,
 table.typo3-TCEforms tr.bgColor2 td {
        padding-bottom: 5px;
@@ -163,7 +167,7 @@ table.typo3-TCEforms .formField2,
 table.typo3-TCEforms .formField3,
 table.typo3-TCEforms .formField4,
 table.typo3-TCEforms .formField5 {
-       margin: 4px 2px;
+       margin: 4px 2px 4px 1px;
        padding: 1px;
        vertical-align: middle;
 }
@@ -246,9 +250,9 @@ table.typo3-TCEforms span.filetypes {
 }
 
 .t3-form-palette-field-container {
-       display:inline-block;
-       margin-left:20px;
-       vertical-align:top;
+       display: inline-block;
+       margin-left: 10px;
+       vertical-align: top;
 }
 
 .t3-form-palette-field-container .t3-form-palette-field-label, .t3-form-palette-field-container .t3-form-palette-field {
index b2d9a38..9b9642e 100644 (file)
@@ -32,8 +32,7 @@
 
 <!-- ###PALETTE_FIELDTEMPLATE_HEADER### begin -->
 <tr ###BGCOLOR_HEAD######CLASSATTR_2###>
-       <td><!-- --></td>
-       <td nowrap="nowrap" valign="top"><strong>###FIELD_HEADER###</strong></td>
+       <td colspan="2" nowrap="nowrap" valign="top" class="palette-header"><strong>###FIELD_HEADER###</strong></td>
 </tr>
 <!-- ###PALETTE_FIELDTEMPLATE_HEADER### end -->