Issue Bug Closed

#59124csc-uploads broken CSS rule

martin no-lastname-given 05/26/14, 15:30 updated 01/02/15, 14:06

Description

In typo3/sysext/css_styled_content/static/setp.txt

this CSS rule

ul.csc-uploads img { float: left; padding-right: 1em; vertical-align: top; }

causes images to be squeezed when they have the width-attr (default=150, through tt_content.uploads.20.renderObj.10.file.width) set because the 1em is calculated inside the given dimensions. The padding should be changed to margin, otherwise all images are squeezed horizontally regardless of the actual dimension settings.

Reviews 2