Actions
Bug #16397
closedText with Picture Left, creates wrong margin
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2006-07-24
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Let's say you add a Text /w Pic (left formatted) (with of pic is 100px) and the text is higher than the picture, Firefox will show the text left indended. This is beacuse the with for the left-margin of the text will be calculated without "configured textmargin".
QuickFix:
Change Line 648 of class.tx_cssstyledcontent_pi1.php from:
$GLOBALS['TSFE']->register['rowwidth'] = $imageBlockWidth;
to
$GLOBALS['TSFE']->register['rowwidth'] = $imageBlockWidth + $conf['textMargin'];
(issue imported from #M3912)
Actions