I use VS Code for custom css I write in WordPress to have version control on it and when VS Code runs formatOnSave
(which I generally love) in the CSS files, it inserts a space before !important
, which when you're writing CSS over WordPress themes and page builders... is a must.
For example, it will change padding-bottom: 0px!important;
to padding-bottom: 0px !important;
which in some contexts (in particular in WordPress), will break it.
Is there a way to disable just this or customize just this? The rest of the formatting I very much like.
Thank you in advance!