From ff671afbe52d8a6cce00c7934e494e975f3aa3f5 Mon Sep 17 00:00:00 2001 From: Mitchel Date: Sat, 23 Nov 2024 22:47:39 +0100 Subject: [PATCH] fix: Correct styling when error is show inside hover tooltip --- app/javascript/scss/editor/_codemirror-6.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/javascript/scss/editor/_codemirror-6.scss b/app/javascript/scss/editor/_codemirror-6.scss index 7403b3a9..1faab1b2 100644 --- a/app/javascript/scss/editor/_codemirror-6.scss +++ b/app/javascript/scss/editor/_codemirror-6.scss @@ -109,6 +109,10 @@ white-space: pre-wrap; } + .cm-diagnostic { + background: $bg-darker; + } + hr { margin: $margin * 0.125 0; background-color: $bg-darker @@ -121,6 +125,11 @@ } } + .cm-tooltip-section:not(:first-child) { + border: 0; + margin-top: $margin * 0.125; + } + .cm-tooltip-arrow { display: none; }