diff --git a/src/app.scss b/src/app.scss index 6c06683..fde29f1 100644 --- a/src/app.scss +++ b/src/app.scss @@ -84,3 +84,10 @@ $modal-background-background-color-dark: rgba($dark, 0.86) !default; // remove t .modal-card-body { // remove this once https: //github.com/jloh/bulma-prefers-dark/pull/90 is merged and released background-color: $background-dark; } + +/* Support for copy code button */ +.code-block>button { + position: absolute; + top: 0.5rem; + right: 0.5rem; +} \ No newline at end of file diff --git a/src/lib/Code.svelte b/src/lib/Code.svelte index 067be2b..8b817ab 100644 --- a/src/lib/Code.svelte +++ b/src/lib/Code.svelte @@ -106,12 +106,3 @@ - -