Skip to content

Commit

Permalink
replace deprecated attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
flack committed Aug 2, 2024
1 parent 9f340be commit 3c403d0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
if ($item_type == "image") {
?>
<a href='&(url);'>
<img src='&(url);' height='54' align='texttop' />
<img src='&(url);' height='54' />
</a>
<a href='&(url);'>
<span title="name">&(item.name);</span>
Expand All @@ -22,7 +22,7 @@
} else {
$mime_icon = midcom_helper_misc::get_mime_icon($item->mimetype);
?>
<img src="&(mime_icon);" alt="&(item.mimetype);" align='texttop'/>
<img src="&(mime_icon);" alt="&(item.mimetype);" />
<a href='&(url);'>
<span title="name">&(item.name);</span>
</a>
Expand Down
5 changes: 5 additions & 0 deletions static/midcom.helper.imagepopup/styling.css
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,8 @@ form.datamanager2 > .form > .form_toolbar
{
margin: 10px 0 10px 0;
}

.midcom_helper_imagepopup_search_result_item img
{
vertical-align: text-top
}

0 comments on commit 3c403d0

Please sign in to comment.