minor CSS tweak
This commit is contained in:
parent
d523781481
commit
610b144fb2
@ -84,15 +84,16 @@ class TagEditTheme extends Themelet {
|
|||||||
global $user;
|
global $user;
|
||||||
$h_source = html_escape($image->get_source());
|
$h_source = html_escape($image->get_source());
|
||||||
$f_source = $this->format_source($image->get_source());
|
$f_source = $this->format_source($image->get_source());
|
||||||
|
$style = "overflow: hidden; white-space: nowrap; max-width: 350px; text-overflow: ellipsis;";
|
||||||
return "
|
return "
|
||||||
<tr>
|
<tr>
|
||||||
<th>Source</th>
|
<th>Source</th>
|
||||||
<td>
|
<td>
|
||||||
".($user->can("edit_image_source") ? "
|
".($user->can("edit_image_source") ? "
|
||||||
<span class='view' style='overflow: hidden; white-space: nowrap;'>$f_source</span>
|
<div class='view' style='$style'>$f_source</div>
|
||||||
<input class='edit' type='text' name='tag_edit__source' value='$h_source'>
|
<input class='edit' type='text' name='tag_edit__source' value='$h_source'>
|
||||||
" : "
|
" : "
|
||||||
<span style='overflow: hidden; white-space: nowrap;'>$f_source</span>
|
<div style='$style'>$f_source</div>
|
||||||
")."
|
")."
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user