Are you talking about physical screen size, DPI or what? I've no idea what display a MacBook Air 11" has.
Did your eye doctor tell you your myopia developed because of staring at your laptop's screen? (Mine developed when I was a teenager and hadn't yet spent a lifetime of staring at CRT monitors, and my eye doctor told me it was likely unrelated to computer screens. But maybe medicine has changed its opinion, this was decades ago).
I coded on a MacBook Air 11" on daily basis during 1 year. I thought it was no big deal too until I started developing myopia.