From 560d8ee9c9aa2aa3b08552e6353464042095d618 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 14 Mar 2024 14:57:51 +0000 Subject: [PATCH] Update font sizes for live eval to force consistency between browsers --- .../src/components/common/CodeEditor/CodeEditor.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/builder/src/components/common/CodeEditor/CodeEditor.svelte b/packages/builder/src/components/common/CodeEditor/CodeEditor.svelte index 5eefe11e58..ba5f75083a 100644 --- a/packages/builder/src/components/common/CodeEditor/CodeEditor.svelte +++ b/packages/builder/src/components/common/CodeEditor/CodeEditor.svelte @@ -511,14 +511,14 @@ .code-editor :global(.binding__example) { padding: 0; margin: 0; - font-size: var(--font-size-s); + font-size: 12px; font-family: var(--font-mono); white-space: pre; text-overflow: ellipsis; overflow: hidden; max-height: 480px; } - .code-editor :global(.binding__example) { + .code-editor :global(.binding__example.helper) { color: var(--spectrum-global-color-blue-700); } .code-editor :global(.binding__example span) {