refactor: improve SCSS nesting structure

This commit is contained in:
Erzbir
2026-05-16 15:27:13 +08:00
parent f3002b58dc
commit be59fb0e06
19 changed files with 394 additions and 379 deletions
+4 -4
View File
@@ -36,18 +36,18 @@
</article>
<nav class="pagination" th:if="${friends.hasPrevious() || friends.hasNext()}">
<div class="pagination__buttons">
<div class="pagination-buttons">
<span th:if="${friends.hasPrevious()}">
<a data-pjax th:href="@{${friends.prevUrl}}" class="button prev inline">
<span class="button__text" th:text="'< ' + #{page.pagination.prev}">&lt;&nbsp;Prev</span>
<span class="button-text" th:text="'< ' + #{page.pagination.prev}">&lt;&nbsp;Prev</span>
</a>
</span>
<span th:if="${friends.hasNext()}">
<a data-pjax th:href="@{${friends.nextUrl}}" class="button inline next">
<span class="button__text" th:text="#{page.pagination.next} + ' >'">Next&nbsp;&gt;</span>
<span class="button-text" th:text="#{page.pagination.next} + ' >'">Next&nbsp;&gt;</span>
</a>
</span>
</div>
</nav>
</th:block>
</html>
</html>