You might want to reboot – the advice seems off topic, but sometimes that is all that is needed.
If this is happening in every file, in every format, in every view, then your zoom level might have got itself expanded. Use View > Actual Size to reset the zoom to normal.
Check your Ruler settings, also. The right margin might have been inadvertently pulled too wide.