Bug #56105

Epic #61834: Create future proof Content Element with strong default

Task #61836: Reorganize Content Element properties within backend Extension

Task #61842: Refactor CSS-Styled-Content + Content Elements

image position below: No margin-bottom if more than one image

Added by Christian Clemens over 1 year ago. Updated 10 months ago.

Status:New Start date:2014-02-19
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:Content Rendering Spent time: -
Target version:-
TYPO3 Version:6.2 Is Regression:No
PHP Version: Sprint Focus:
Complexity:

Description

Tested with TYPO3 6.2beta4:

If I add a content element "text with image" with only one image (position: below), then a margin-bottom:10px is added to:

div.csc-textpic .csc-textpic-imagewrap .csc-textpic-image {margin-bottom: 10px;}

If I add a content element "text with image" with two images beside each other or below each other (again with position: below), then there is no such margin-bottom. In the result, the text is directly below the images - see attached screenshot.

In TYPO3 4.5.32 the margin-bottom exists.

screenshot_margin_bottom.jpg (63.8 kB) Christian Clemens, 2014-02-19 10:04

History

#1 Updated by Christian Clemens over 1 year ago

I'm sorry: the title of this task is not correct, should be something like this "image position below: No margin-bottom if more than one image". Can't change this...

#2 Updated by Felix Kopp 10 months ago

  • Parent task set to #61842

#3 Updated by Felix Kopp 10 months ago

  • Subject changed from No margin-bottom under last image to image position below: No margin-bottom if more than one image

#4 Updated by Frank Nägler 10 months ago

can reproduce this, the CSS set this explicit to margin-bottom: 0;

Also available in: Atom PDF