Changing code viewing indentation size via EditorConfig

I am trying to change the size of my code’s indentation in the Gitlab code viewer via an .editorconfig file. This can be done on GitHub like so: see rofrol’s answer here.

I am guessing GitLab does not support this feature. Is there another way to change indentation size when viewing your code on GitLab?