It only happens with Stack Overflow, so I think it's probably a certain key combination or something I did with the mouse without noticing.
How can I undo this?
In Firefox under windows (so may not apply to Ubuntu), Ctrl 0 will reset the size to standard. Do it once and it should stay that way. Any good?