In your case it's probably a browser, OS, or driver update that caused this to happen
However, I will say that I'm not a fan of the rounded toolbar and blue color scheme that was added to google docs about a year ago -- a few months ago I created a user-style for myself that restores most of the old UI, and I will say I find it easier to focus with the older design