After a whole bunch of comparing this project to another project that didn’t have this issue, I narrowed it down to having Tailwind installed. Removing the @import ‘tailwindcss/base’; line fixed the issue.
OK for me as I donlt need it and was just testing out Tailwind.