Back to blog
founders-diarymobileUXdesignstartup

Founder's Diary #7: 44 Pixels

11 April 20267 min readKansei TeamCzechEnglish

April 11, 2026 — Friday evening. Sitting in a coffee shop, scrolling kansei on my phone. Adding a task, opening an invoice, checking a portal link. Everything on a four-inch screen. And half of it is unusable.

The Week I Picked Up My Phone

I built kansei on a desktop. Big monitor, mouse, keyboard. Every component designed for an environment where you have forty-eight inches of width. But this week, I decided to spend an entire day using only my phone. And it was humbling. Buttons you couldn't tap. Toolbars that overflowed off-screen. Dialogs that covered the content you just needed to see.

A desktop version forgives sloppiness. A mobile version exposes it in the first second.

44 Pixels That Change Everything

Apple and Google say the same thing: minimum touch target is 44×44 pixels. That's roughly a centimeter square. All my toolbar buttons were 24×24. Fine on a monitor. On a phone? Your finger misses every third attempt.

I went through the entire app and enlarged touch targets on mobile. On desktop, they stay compact — h-8 w-8 sm:h-6 sm:w-6. Simple change, massive difference in usability.

Invisible Buttons

On desktop, we have many elements that only appear on hover. Table row actions, quick edits, context menus. Elegant and clean — until you realize that on a touch device, hover doesn't exist. All these buttons are completely invisible on mobile.

The fix: on devices without hover, show them always — with slight opacity so they don't distract, but they're reachable. The CSS media query @media (hover: none) is the exact tool for this.

Rule for every component

If an element depends on hover, it must have a fallback for touch devices. No exceptions. Either it's always visible on mobile, or it has an alternative access path (long-press, swipe, context menu).

Safe Area: The Notch and the Bar

iPhones have a notch at the top and a bar at the bottom. If fixed elements — bottom toolbars, floating buttons — don't account for these areas, they're partially covered. The user sees a button but can't tap it because it's under the system bar.

The fix: env(safe-area-inset-bottom) on every fixed bottom element. On older devices, it's ignored; on newer ones, it adds the needed padding. One line of CSS, no reason not to have it.

47
Components fixed
44px
Min. touch target
0
Hover-only elements
375px
Test width

The Context Menu That Escapes

Right-click on desktop opens a context menu at the cursor position. On mobile, long-press does the same. Problem: if the click is near the right or bottom edge, the menu renders off-screen. On desktop, you see it and scroll over. On mobile, you don't — the menu simply disappears beyond the viewport edge.

The fix: coordinate clamping. Math.min(x, window.innerWidth - menuWidth). Three lines of code that save dozens of frustrated attempts.

Chat With My Mentor

Me: Why didn't I address this from the start? All this mobile work is tech debt.

Mentor: Because desktop-first is the natural way you build a product — you see more, you iterate faster. But mobile is how your customers will actually use it. A producer on set doesn't open a laptop. They open their phone. And if a button doesn't work, they don't care that it looks beautiful on desktop. This isn't tech debt — it's an investment in real-world usage.

What I Learned

Mobile optimization isn't about "responsive design." It's about picking up your phone, opening your own product, and trying to use it normally. Without a mouse, without a keyboard, without a wide monitor. Just a finger and four inches of screen. If it works there, it works everywhere.

Related posts

Read enough? Try it on your next job.