1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2026-06-21 23:38:39 +00:00

refactor(ui): reduce the size of the 'close' and 'copy' buttons

- The close button in the TOC popup
- The copy button in the code block
This commit is contained in:
Cotes Chung
2026-06-20 20:23:33 +08:00
parent 5cc9dc66ac
commit 18cf79bdac
4 changed files with 7 additions and 9 deletions
+1 -3
View File
@@ -113,9 +113,7 @@ script_includes:
<dialog id="toc-popup" class="p-0">
<div class="header d-flex flex-row align-items-center justify-content-between">
<div class="label text-truncate py-2 ms-4">{{- page.title -}}</div>
<button id="toc-popup-close" type="button" class="btn mx-1 my-1 opacity-75">
<i class="fas fa-close"></i>
</button>
<button id="toc-popup-close" type="button" class="btn-close btn-sm mx-3" aria-label="Close"></button>
</div>
<div id="toc-popup-content" class="px-4 py-3 pb-4"></div>
</dialog>