浏览代码

Images displayed on person list correctly (2)

Andrew Grant 2 月之前
父节点
当前提交
603814dc74
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/templates/person/list.html

+ 1 - 1
src/main/resources/templates/person/list.html

@@ -36,7 +36,7 @@
 
                 <td th:text="${person.id}">123</td>
                 <td th:text="${person.toString()}"> First</td>
-                <th th:text="${person.getImage()?.getName()}"></th>
+                <th style="font-weight:normal;" th:text="${person.getImage()?.getName()}"></th>
                 <th th:if = "${person.getImage()}">
                     <img class='img-thumbnail' th:src="'data:image/jpeg;base64,' + ${person.getImage()?.imageData} "
                           width="50" height="50" alt=""/>