fix(editor): show wavy and dotted underlines on macOS (#1086)

Error, warning, weak-warning and typo underlines never showed on macOS, nor did underline effects of syntax tokens from a colour scheme: WebKit rejects a text-decoration shorthand with a style or colour (underline wavy <colour>), so the declaration fell back to none.

The editor's diagnostic and token styles also set -webkit-text-decoration, which WebKit takes the full value through; the red wavy underlines of the Problems, Build, Project and Database views use the longhand properties.
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-11-04 03:01:03 +08:00
1 джерело 1c5a92f952
коміт 0dffad814a
7 files changed
+24 -4

No files matched your search

+3 -1
Переглянути файл
@@ -42,7 +42,9 @@
color: var(--fg-muted);
}
.fileError {
text-decoration: underline wavy var(--danger);
text-decoration-line: underline;
text-decoration-style: wavy;
text-decoration-color: var(--danger);
text-decoration-skip-ink: none;
text-underline-offset: 3px;
}