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
+3 -3
View File
@@ -34,15 +34,15 @@
</div>
</article>
<nav class="pagination" th:if="${archives.hasPrevious() || archives.hasNext()}">
<div class="pagination__buttons">
<div class="pagination-buttons">
<span th:if="${archives.hasPrevious()}">
<a data-pjax th:href="@{${archives.prevUrl}}" class="button prev inline">
<span class="button__text">&lt;&nbsp;Prev</span>
<span class="button-text">&lt;&nbsp;Prev</span>
</a>
</span>
<span th:if="${archives.hasNext()}">
<a data-pjax th:href="@{${archives.nextUrl}}" class="button inline next">
<span class="button__text">Next&nbsp;&gt;</span>
<span class="button-text">Next&nbsp;&gt;</span>
</a>
</span>
</div>