codemirror / dev

Development repository for the CodeMirror editor project
https://codemirror.net/
Other
5.94k stars 377 forks source link

Icons broken on css lang #1404

Closed ericuldall closed 4 months ago

ericuldall commented 4 months ago

Describe the issue

When using the lang-css repo our autocomplete shows a square icon for the property names. See attached image

image

Any idea why that is and if we can adjust that or just turn off icons in general?

Browser and platform

No response

Reproduction link

No response

marijnh commented 4 months ago

That's what they are supposed to look like. You can style the content property of .cm-completionIcon-property:after to provide an alternative icon.

ericuldall commented 4 months ago

oh okay. Never would have guessed that was an intentional icon. Thanks for providing some clarity and the quick response.