As far as I know, there is no built-in setting to disable this.
You should be able to prevent the user from resizing the window by adding the following CSS:
However, I haven’t figured out how to disable the dragging yet. It seems to target the entire header container, so it most likely won’t work with CSS. You might have to use some custom JS for that.