Bug #29029
closedSome TCEforms elements are displaced
100%
Description
The solution for bug #28030 had a very unfortunate side-effect: elements of TCEforms like the required icon or the drop-down from the suggest wizard are displaced.
This is because the "display: block" property of selector "table.typo3-TCEforms td.formField-field" was removed. In turn this means that element positioned relative to this field become then positioned relative to whatever other element it considers its parent, sometimes even the top of the form.
The solution is to reintroduce that block property and use a width attribute to solve the problem of the localization information.
Files
Updated by Xavier Perseguers almost 13 years ago
Thanks for taking care of this one. I'll test it as soon as you provide a patch.
Updated by Francois Suter almost 13 years ago
Just a note: the difference in the behavior between localized elements like tt_content and tt_news is that tt_content now uses palettes all over. In this case a specific span tag is added in TCEforms which constrains the translation information to the right size. I'm now looking at solving this issue by adding a similar span for fields that are not inside a palette.
I just need to find the right place in TCEforms :-/
Updated by Mr. Hudson almost 13 years ago
Patch set 1 of change If13c130423c4839b89c7f03e015feffd8ae3bd94 has been pushed to the review server.
It is available at http://review.typo3.org/4389
Updated by Francois Suter almost 13 years ago
- File required_icon_before.png required_icon_before.png added
How to test: just create a new BE user and observe how the "required" icon is displaced in the username field.
To check that the proposed patch indeed solves #28030 too, open the translation of a record from a table that doesn't use palettes, for example tt_news.
Updated by Mr. Hudson almost 13 years ago
Patch set 2 of change If13c130423c4839b89c7f03e015feffd8ae3bd94 has been pushed to the review server.
It is available at http://review.typo3.org/4389
Updated by Mr. Hudson almost 13 years ago
Patch set 1 of change If13c130423c4839b89c7f03e015feffd8ae3bd94 has been pushed to the review server.
It is available at http://review.typo3.org/4390
Updated by Jigal van Hemert almost 13 years ago
See also: http://forge.typo3.org/issues/28161
Updated by Francois Suter almost 13 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset 1ad22381735f7bb65273b973e5326e1a8b2b3e43.
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed