Carol Monroe
← Field Notes

Why Your App Looks Off on Windows

Dec 31, 2025 · 2 min · Workaround 136 views

The Problem

I was building an app and everything looked perfect on my Mac. Tested it on my iPhone — flawless. I was happy.

Then someone opened it on Windows. And on a Samsung. And it looked... off. Buttons too big, layouts breaking, things overflowing.

The thing is, I had completely forgotten to check other devices. When you're in the Mac + iPhone bubble, it's easy to assume everything just works everywhere.

Spoiler: it doesn't.

What's Actually Happening

Windows uses display scaling (125%, 150%, etc.) much more aggressively than macOS. When you use fixed px values, Windows scales them in ways that can break your carefully designed layouts.

macOS handles this more gracefully, which is why you might not notice the issue until someone on a different setup reports it.

The Fix

Switch from fixed pixels to relative units:

  • rem — relative to root font size, scales consistently
  • % — relative to parent element
  • vw/vh — relative to viewport width/height

After making this change, my app finally looked unified across Mac, Windows, iPhone, and Samsung. Same proportions, same feel.

Quick Prompt

If you're using an AI coding tool, try this:

Make sure all sizing uses relative units (rem, %, vw/vh) instead of fixed pixels for consistent display across all devices and OS scaling settings.

Common Culprits

These are the places where fixed px causes the most issues:

  • Container widths and max-widths
  • Padding and margins on main sections
  • Font sizes (especially headings)
  • Icon sizes
  • Gap values in flex/grid layouts

Example

Instead of:

.container {
  max-width: 1200px;
  padding: 40px;
  font-size: 16px;
}

Use:

.container {
  max-width: 75rem;
  padding: 2.5rem;
  font-size: 1rem;
}

Why This Works

Relative units respect the user's system preferences and scaling settings. The browser does the math to make everything proportional, regardless of the device or OS.

Now I always run this prompt early in my projects. Lesson learned.


Happy vibecoding ✨

personal

XLinkedIn

Reader margin

What stayed with you?

0 notes

Leave one small mark in the margin.

Notes from readers

The margin is open. You can leave the first note.

Stuck with something like this? I fix it daily → Services

© 2026 Carol Monroe · Services delivered through Moonshot Labs LLCPrivacy · Terms · RSS · X · LinkedIn ·
Carol Monroe · visitor ledgerThe logbook

Leave a little note before you go.

Notes left hereopen since 2026

The page is ready for its first note.

Your page280 characters

Glad you found your way here.

Tell me what brought you in, what stayed with you, or simply say hello.

0/280 · your note will be public