use a tag instead of button

This commit is contained in:
Hayden 2022-10-22 10:30:16 -08:00
parent e8e21d561e
commit e031ea0e95

View file

@ -17,9 +17,9 @@
</div>
<br>
<div class="code-container">
<button id="copy-button" class="copy-button">
<a id="copy-button" class="copy-button">
Copy
</button>
</a>
<div style="clear: both;">
{% if args.highlightsyntax %}
<pre><code id="code">{{pasta.content_syntax_highlighted()}}</code></pre>
@ -83,6 +83,7 @@ code-line::before {
right: 0;
padding: 3px;
margin: 3px;
cursor: pointer;
}
</style>