To fix your problem, try this: Go to "Settings", "Display", "Advanced", "Display size", and set it to "Default".
This worked for me as of May 2018 for the Pixel 2 XL.
You can change the font size setting without issue. It's the display size setting that seems to be the culprit.