Commit 61d03aa8 authored by damjan's avatar damjan

[BUGFIX] Trimming too long constants on EditFile page.

parent 91e8eb07
......@@ -45,7 +45,9 @@
<f:for each="{constValues}" key="constKey" as="constValue" iteration="iterator">
<fieldset class="tx-lfeditor-fieldset bgColor5 {lfe:extendedIf(condition: iterator.isOdd, or: parallelEdit, then: 'tx-lfeditor-fleft', else: 'tx-lfeditor-fright')}">
<legend class="bgColor3">{languageSelection}:{constKey}</legend>
<legend class="bgColor3 tx-lfeditor-constantMaxWidth400" title="{languageSelection}:{constKey}">
{languageSelection}:{constKey}
</legend>
<lfe:extendedIf condition="{languageSelection} == {defaultLanguage}" and="{defaultLanguagePermission} != 'TRUE'">
<f:then>
<f:form.textarea
......@@ -73,7 +75,9 @@
</fieldset>
<f:if condition="{parallelEdit}">
<fieldset class="tx-lfeditor-fieldset bgColor5 tx-lfeditor-fright">
<legend class="bgColor3">{referenceLanguageSelection}:{constKey}</legend>
<legend class="bgColor3 tx-lfeditor-constantMaxWidth400" title="{referenceLanguageSelection}:{constKey}">
{referenceLanguageSelection}:{constKey}
</legend>
<lfe:extendedIf condition="{referenceLanguageSelection} == {defaultLanguage}" and="{defaultLanguagePermission} != 'TRUE'">
<f:then>
<f:form.textarea
......
......@@ -62,6 +62,13 @@ fieldset.tx-lfeditor-fieldset legend {
border: 1px solid #AAA;
}
.tx-lfeditor-constantMaxWidth400 {
text-overflow: ellipsis;
max-width: 400px;
white-space: nowrap;
overflow: hidden;
}
fieldset.tx-lfeditor-fieldset p,
fieldset.tx-lfeditor-fieldset p input {
margin: 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment