diff --git a/src/app.scss b/src/app.scss index 805bfc8..5c8a28f 100644 --- a/src/app.scss +++ b/src/app.scss @@ -86,12 +86,12 @@ $modal-background-background-color-dark: rgba($dark, 0.86) !default; // remove t } /* for copy button */ -pre[data-language="plaintext"] { +pre[data-language] { position: relative; } div.copy-prompt { - padding: 5px; + padding: .5rem; position: absolute; - top: 5px; - right: 5px; + top: .5rem; + right: .5rem; } \ No newline at end of file diff --git a/src/lib/Chat.svelte b/src/lib/Chat.svelte index f9c7925..9b29187 100644 --- a/src/lib/Chat.svelte +++ b/src/lib/Chat.svelte @@ -1,12 +1,7 @@