feat: improve button style and functionality

This commit is contained in:
swaits committed 2025-10-08 17:18:59 -06:00
1 parent 1fe0dd4f66
commit 87ab29fad4
4 files changed
+70 -4

No files matched your search

+3 -1
View File
@@ -2,7 +2,9 @@
{{ define "main" }}
<div class="coc-box" data-raw-content="{{ .RawContent }}">
<button class="copy-btn" onclick="copyCoC()">[copy]</button>
<button class="copy-btn" onclick="copyCoC()" title="Copy to clipboard">
<img src="/markdown-icon.svg" alt="Copy" class="copy-icon">
</button>
{{ .Content }}
</div>
<p class="back-link"><a href="/">← Back to latest version</a> | <a href="/versions/">All versions</a></p>