fix tooltip background

pull/11716/head
Rich Harris 2 years ago
parent 861d0d5317
commit b95d21ecd0

@ -286,7 +286,6 @@
.cm-tooltip {
border: none;
background-color: transparent;
font-family: var(--sk-font);
max-width: calc(100vw - 10em);
position: relative;
@ -329,6 +328,10 @@
bottom: -4px;
}
.cm-tooltip:has(.cm-diagnostic) {
background: transparent;
}
.cm-tooltip:has(.cm-diagnostic-warning) {
--bg: var(--warning);
--fg: #222;

Loading…
Cancel
Save