Actions
Feature #43066
closedAlso other units than pixels in margins
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-11-18
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
Since the css supports other units than pixels, it would be nice that TYPO3 would also for content element margins. I suppose the image size thing is harder but at least the margins (Appearance tab Top Margin and Bottom Margin) should be easy since it is done by css styles.
Updated by Georg Ringer about 12 years ago
but can't this just be done with css_styled_content with TS?
Updated by Georg Ringer about 12 years ago
- Status changed from New to Needs Feedback
Updated by Katja Lampela about 12 years ago
Georg Ringer wrote:
but can't this just be done with css_styled_content with TS?
Sorry I don't quite understand - I mean the content element Appearance tab. If you put there, for example margin-top 2em, it deletes the em part. It seems to understand only numbers and treats them as pixels.
Updated by Alexander Opitz over 11 years ago
- Status changed from Needs Feedback to New
An editor mostly haven't access to TS or the css_styled_content, still valid with TYPO3 CMS 6.2.0a2
Updated by Mathias Schreiber almost 10 years ago
- Status changed from New to Rejected
Solution:
- Remove the eval = int from tt_content.spaceBefore and tt_content.spaceAfter in TCA
- Use renderSpace Hook in CssStyledContentController
Actions