From 7e35c91bed531ff39f21f40b40a36be69e0f6af9 Mon Sep 17 00:00:00 2001 From: Roger Chapman Date: Wed, 13 Jan 2021 16:31:38 +1100 Subject: [PATCH] :wrench: Fix UTF8 content on macOS --- frontend/src/monaco.css | 8 ++++---- frontend/src/views/Response.svelte | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/src/monaco.css b/frontend/src/monaco.css index 1cad553..31c9ddb 100644 --- a/frontend/src/monaco.css +++ b/frontend/src/monaco.css @@ -10,11 +10,11 @@ } .decor-header.in-payload::before { - content: "\00a0────────── in payload ──────────"; + content: "\00a0\2014\2014\2014\2014\2014\2014\2014\2014\2014\2014\00a0in payload\00a0\2014\2014\2014\2014\2014\2014\2014\2014\2014\2014\2014"; } .decor-header.out-payload::before { - content: "\00a0────────── out payload ─────────"; + content: "\00a0\2014\2014\2014\2014\2014\2014\2014\2014\2014\2014\00a0out payload\00a0\2014\2014\2014\2014\2014\2014\2014\2014\2014\2014"; } .decor-lines { @@ -24,12 +24,12 @@ .decor-lines.in-payload::before { color: var(--green-color); - content: "«"; + content: "\00ab"; } .decor-lines.out-payload::before { color: var(--yellow-color); - content: "»"; + content: "\00bb"; } .decor-lines.error, .decor-lines-block.error { diff --git a/frontend/src/views/Response.svelte b/frontend/src/views/Response.svelte index 9d6e1a6..5ff89b7 100644 --- a/frontend/src/views/Response.svelte +++ b/frontend/src/views/Response.svelte @@ -49,6 +49,8 @@ .container { height: 100%; + user-select: text; + -webkit-user-select: text; }