Update: local font + fix home card layout

This commit is contained in:
Rectos VX
2024-05-08 18:24:55 +04:00
parent 0f43723250
commit 1634987171
6 changed files with 44 additions and 11 deletions

View File

@@ -3,17 +3,16 @@
<a th:href="${cardLink}">
<div class="d-flex align-items-center"> <!-- Add a flex container to align the SVG and title -->
<div class="icon" alt="icon" th:class="@{${toolGroup}}">
<div id="tool-icon" class="icon" alt="icon" th:class="@{${toolGroup}}">
<span class="material-symbols-rounded nav-icon" th:text="@{${toolIcon}}"></span>
</div>
<div id="tool-text">
<h5 class="card-title" th:text="${cardTitle}"></h5>
<p class="card-text" th:text="${cardText}"></p>
</div>
<h5 class="card-title mx-2" th:text="${cardTitle}"></h5>
<!-- Add some margin-left (ms-2) for spacing between SVG and title -->
</div>
<p class="card-text" th:text="${cardText}"></p>
</a>
<div class="favorite-icon" onclick="toggleFavorite(this)">
<span class="material-symbols-rounded no-fill">

View File

@@ -61,7 +61,7 @@
<link rel="stylesheet" href="css/footer.css">
<!-- Google MD Icons -->
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" rel="stylesheet" />
<link rel="stylesheet" href="css/theme/font.css">
<!-- Help Modal -->
<link rel="stylesheet" href="css/errorBanner.css">