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