Follow-up to issue #16861: Miss alignment of fields added by extensions
authorIngo Renner <ingo.renner@typo3.org>
Tue, 28 Dec 2010 16:44:46 +0000 (16:44 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Tue, 28 Dec 2010 16:44:46 +0000 (16:44 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9953 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/t3skin/stylesheets/structure/element_tceforms.css
typo3/templates/tceforms.html

index 089b3f1..746d90b 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,7 @@
 2010-12-28  Ingo Renner  <ingo@typo3.org>
 
        * Fixed bug #16861: Minor alignment issues in TCE forms
+       * Follow-up to issue #16861: Miss alignment of fields added by extensions
 
 2010-12-28  Steffen Kamper  <steffen@typo3.org>
 
index 0e17542..a69ac79 100644 (file)
@@ -161,6 +161,11 @@ table.typo3-TCEforms .class-main53 {
        padding: 2px 0px 2px 0px;
 }
 
+table.typo3-TCEforms td.formField-header,
+table.typo3-TCEforms td.formField-field {
+       padding-left: 10px;
+}
+
 table.typo3-TCEforms .formField,
 table.typo3-TCEforms .formField1,
 table.typo3-TCEforms .formField2,
index 4de6275..4a1aab1 100644 (file)
 
 <!-- ###FIELDTEMPLATE### begin -->
 <tr ###BGCOLOR_HEAD######CLASSATTR_2###>
-       <td>&nbsp;</td>
-       <td width="99%"><span style="color:###FONTCOLOR_HEAD###;"###CLASSATTR_4###><strong>###FIELD_NAME###</strong></span></td>
+       <td colspan="2" class="formField-header"><span style="color:###FONTCOLOR_HEAD###;"###CLASSATTR_4###><strong>###FIELD_NAME###</strong></span><img name="req_###FIELD_TABLE###_###FIELD_ID###_###FIELD_FIELD###" src="clear.gif" class="t3-TCEforms-reqImg" alt="" /><img name="cm_###FIELD_TABLE###_###FIELD_ID###_###FIELD_FIELD###" src="clear.gif" class="t3-TCEforms-contentchangedImg" alt="" /></td>
 </tr>
 <tr ###BGCOLOR######CLASSATTR_1###>
-       <td nowrap="nowrap"><img name="req_###FIELD_TABLE###_###FIELD_ID###_###FIELD_FIELD###" src="clear.gif" class="t3-TCEforms-reqImg" alt="" /><img name="cm_###FIELD_TABLE###_###FIELD_ID###_###FIELD_FIELD###" src="clear.gif" class="t3-TCEforms-contentchangedImg" alt="" /></td>
-       <td valign="top">###FIELD_ITEM######FIELD_PAL_LINK_ICON###</td>
+       <td colspan="2" class="formField-field" valign="top">###FIELD_ITEM######FIELD_PAL_LINK_ICON###</td>
 </tr>
 <!-- ###FIELDTEMPLATE### end -->
 
 
 <!-- ###PALETTE_FIELDTEMPLATE### begin -->
 <tr ###BGCOLOR######CLASSATTR_1###>
-       <td></td>
-       <td nowrap="nowrap" valign="top">###FIELD_PALETTE###</td>
+       <td colspan="2" nowrap="nowrap" valign="top">###FIELD_PALETTE###</td>
 </tr>
 <!-- ###PALETTE_FIELDTEMPLATE### end -->