Skip to content

Commit

Permalink
fix: Correct styling when error is show inside hover tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitcheljager committed Nov 23, 2024
1 parent 00c3418 commit ff671af
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/javascript/scss/editor/_codemirror-6.scss
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@
white-space: pre-wrap;
}

.cm-diagnostic {
background: $bg-darker;
}

hr {
margin: $margin * 0.125 0;
background-color: $bg-darker
Expand All @@ -121,6 +125,11 @@
}
}

.cm-tooltip-section:not(:first-child) {
border: 0;
margin-top: $margin * 0.125;
}

.cm-tooltip-arrow {
display: none;
}
Expand Down

0 comments on commit ff671af

Please sign in to comment.