small css adjustment to make the new image orientation icons fit in the select box...
authorIngo Renner <ingo.renner@typo3.org>
Wed, 16 Apr 2008 10:35:28 +0000 (10:35 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Wed, 16 Apr 2008 10:35:28 +0000 (10:35 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3575 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_tceforms.php

index d810d3f..7452d83 100755 (executable)
@@ -1253,7 +1253,7 @@ class t3lib_TCEforms      {
                                if (count($classes))    {
                                        $class = ' class="'.implode(' ',$classes).'"';
                                } else $class='';
-                               
+
                                $evalList = t3lib_div::trimExplode(',',$config['eval'],1);
                                foreach ($evalList as $func) {
                                        switch ($func) {
@@ -1274,7 +1274,7 @@ class t3lib_TCEforms      {
                                                        break;
                                        }
                                }
-                               
+
                                $iOnChange = implode('',$PA['fieldChangeFunc']);
                                $item.= '
                                                        <textarea name="'.$PA['itemFormElName'].'"'.$formWidthText.$class.' rows="'.$rows.'" wrap="'.$wrap.'" onchange="'.htmlspecialchars($iOnChange).'"'.$PA['onFocus'].'>'.
@@ -1537,7 +1537,7 @@ class t3lib_TCEforms      {
                                if ($sM) {
                                        list($selectIconFile,$selectIconInfo) = $this->getIcon($p[2]);
                                                if (!empty($selectIconInfo)) {
-                                                       $selectedStyle = ' style="background-image: url('.$selectIconFile.'); background-repeat: no-repeat; background-position: 0% 50%; padding: 1px; padding-left: 22px;"';
+                                                       $selectedStyle = ' style="background-image: url('.$selectIconFile.'); background-repeat: no-repeat; background-position: 0% 50%; padding: 1px; padding-left: 24px;"';
                                                }
                                }
                        }
@@ -1547,7 +1547,7 @@ class t3lib_TCEforms      {
                                if(!strcmp($p[1],'--div--')) {
                                        $optGroupStart[0] = $p[0];
                                        $optGroupStart[1] = $styleAttrValue;
-                                       
+
                                } else {
                                        if (count($optGroupStart)) {
                                                if($optGroupOpen) { // Closing last optgroup before next one starts