Fix PurgeCSS style for copy code block

This commit is contained in:
Niek van der Maas
2023-03-13 09:36:21 +01:00
parent 7954aed9ef
commit 9e1de9865f
2 changed files with 7 additions and 9 deletions

View File

@@ -106,12 +106,3 @@
<button class="button is-light is-outlined is-small p-2" on:click={copyFunction}>Copy</button>
<Highlight code={text} {language} />
</div>
<style>
/* for copy button */
.code-block > button {
position: absolute;
top: 0.5rem;
right: 0.5rem;
}
</style>