Файли
openidea/src/features/code-insight/ProblemsView.module.css
T
l0ng-ai 0dffad814a 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.
2026-11-04 03:01:03 +08:00

104 рядки
1.5 KiB
CSS

.view {
height: 100%;
display: flex;
flex-direction: column;
min-height: 0;
}
.body {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
}
.body > * {
flex: 1;
min-height: 0;
}
.tabs {
min-width: 0;
border: 0;
background: none;
}
.tabFile {
margin-left: 4px;
color: var(--fg-muted);
}
.tabCount {
color: var(--fg-muted);
}
.row {
display: flex;
align-items: center;
gap: 6px;
min-width: 0;
flex: 1;
white-space: nowrap;
}
.fileIcon {
flex: none;
color: var(--fg-muted);
}
.fileName {
color: var(--fg-strong);
}
.fileError {
text-decoration-line: underline;
text-decoration-style: wavy;
text-decoration-color: var(--danger);
text-decoration-skip-ink: none;
text-underline-offset: 3px;
}
.selectedText {
color: var(--fg-strong);
}
.muted {
flex: none;
color: var(--fg-subtle);
}
.count {
color: var(--fg-subtle);
margin-left: 4px;
}
.source {
flex: none;
margin-left: auto;
padding-right: 8px;
color: var(--fg-faint);
}
.message {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
color: var(--fg);
}
.deprecated {
text-decoration: line-through;
}
.position {
flex: none;
color: var(--fg-subtle);
}
.sev-error {
flex: none;
color: var(--danger);
}
.sev-warning {
flex: none;
color: var(--warning);
}
.sev-info,
.sev-hint {
flex: none;
color: var(--info);
}
.panel {
display: flex;
flex-direction: column;
min-width: 0;
min-height: 0;
}
.panel > * {
flex: 1;
min-height: 0;
}