Project

General

Profile

Actions

Bug #59124

closed

csc-uploads broken CSS rule

Added by martin no-lastname-given over 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2014-05-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.

Actions

Also available in: Atom PDF