Skip to content

Commit 3337da2

Browse files
author
Tu Nguyen
committed
Improve html markup thumbnail image
1 parent bb176b8 commit 3337da2

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)