use a tag instead of button
This commit is contained in:
parent
e8e21d561e
commit
e031ea0e95
1 changed files with 3 additions and 2 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue