- VSCode Version: 1.15.1
- OS Version: Windows 10 x64
Steps to Reproduce:
- Settings:
"editor.wordWrap": "on",
"css.colorDecorators.enable": true
- Code example:
.form-control:focus { border-color: #141d36; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 4px rgba(165,128,57,0.6); -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 4px rgba(165,128,57,0.6); }
With colorDecorators disabled word wrapping works fine. After enabling it wordWrap completely ignores the width of added decorators and wrapes the code as they are not there what makes parts of the code to be pushed out of viewport.
I think it would be better to just underline the colors accordingly instead adding new elements next to it.
Also it would be great to add some margin between wrapped code and minimap (or whatever is on the right).
Reproduces without extensions: Yes
Edit: Added a screenshot to demonstrate the issue:
