Fix #4650: Differentiate between aliases and corrections in autocomplete.
Display a red wavy underline beneath misspelled tags in autocomplete. We use an inline image for the underline instead of the native `text-decoration: red wavy underline` property because the native underline is too big and ugly, and we have no way to adjust it. Making a nice-looking wavy underline in CSS is surprisingly difficult. This turned out to be the cleanest way.
This commit is contained in:
@@ -96,6 +96,7 @@
|
||||
--autocomplete-selected-background-color: var(--subnav-menu-background-color);
|
||||
--autocomplete-border: 1px solid #CCC;
|
||||
--autocomplete-arrow-color: var(--text-color);
|
||||
--autocomplete-tag-autocorrect-underline: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAHElEQVQYV2NkQAL/GRj+M4IJBgY4zQhSABMEsQHMOAgCT5YN9gAAAABJRU5ErkJggg==);
|
||||
|
||||
--diff-list-added-color: green;
|
||||
--diff-list-removed-color: red;
|
||||
|
||||
Reference in New Issue
Block a user