Skip to content

Commit 57a84bd

Browse files
ENGCOM-7691: Improve html markup thumbnail image #28642
- Merge Pull Request #28642 from mrtuvn/magento2:improve-column-thumbnail-image-html - Merged commits: 1. 3337da2 2. 8f75f1f
2 parents c415874 + 8f75f1f commit 57a84bd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/code/Magento/Ui/view/base/web/templates/grid/cells/thumbnail.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,8 @@
44
* See COPYING.txt for license details.
55
*/
66
-->
7-
<img class="admin__control-thumbnail" attr="src: $col.getSrc($row()), alt: $col.getAlt($row())"/>
7+
<span class="thumbnail-container">
8+
<span class="thumbnail-wrapper">
9+
<img class="admin__control-thumbnail" attr="src: $col.getSrc($row()), alt: $col.getAlt($row())"/>
10+
</span>
11+
</span>

0 commit comments

Comments
 (0)