Code indent size not honoured

I have code indent size set to 2, which works as expected when manually editing. But when using the PG UI to make style changes, the generated code in the SCSS file is indented at a size of 4, which makes an ugly mess.