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