Skip to content

Commit

Permalink
Specify height explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulvdberge committed Dec 24, 2023
1 parent c07b39b commit cfddf11
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@
class="link-body-emphasis d-inline-flex text-decoration-none rounded align-items-center gap-2">
<img th:if="${subItem.icon != null}"
th:src="@{'./assets/' + ${currentComponent.slug} + '.' + ${currentComponent.version.friendlyName()} + '/' + ${subItem.icon}}"
width="32">
width="32"
height="32">
<span th:utext="${subItem.name}"></span>
</a>
</li>
Expand All @@ -120,7 +121,8 @@
<h1 class="mb-2">
<img th:if="${icon != null}"
th:src="@{'./assets/' + ${currentComponent.slug} + '.' + ${currentComponent.version.friendlyName()} + '/' + ${icon}}"
width="32">
width="32"
height="32">
<span th:utext="${title}" th:remove="tag"></span>
</h1>
<nav aria-label="breadcrumb" th:if="${#lists.size(breadcrumbs) > 0}">
Expand Down

0 comments on commit cfddf11

Please sign in to comment.