AlanGarcíaOrbit
EN ↗
[email protected] ↗

Designing for mobile made me look more closely at spacing

Adjusting the clock and weather reminded me to review how an interface distributes space, rather than only reducing sizes.

Alan García3 min read
Paper compositions of a phone and screen with a sun, clock and cloud linked by green thread

When reviewing the portfolio on mobile, something about the clock and weather did not feel right. The information was there, the buttons worked and there was no obvious error. Yet the composition felt disconnected.

My first thought was excess padding. A closer look showed a column reserving more width than the clock needed. For weather, occupying the entire row did not mean the content was well distributed.

These were small adjustments, but they made me stop and look at how I was reading the space.

Locate the gap before removing it

“There is too much space here” can mean several things: the distance between elements, empty width inside a block or vertical separation between sections.

That happened with weather. Reducing its height did not resolve the horizontal distribution I wanted to improve. It could even disturb spacing that was already working.

It helped to return to specifics: which elements should feel connected, which block should use the width and where the unwanted gap was. A screenshot helps, but identifying the direction of the adjustment matters too.

The clock did not need such a wide column

Time has a fairly predictable length. The date can vary, but that did not require assigning a fixed proportion of the row to the clock.

The adjustment was to let its column respond to the content and place the map nearby. Reserved width was part of the problem even without large padding inside the clock.

With CSS, it is easy to search inside a component and forget the grid containing it. Here I needed to inspect both.

Locate unwanted space, distribute around content and review different states
Editorial process diagram, not a screenshot or a measurement of results. Enlarge diagram ↗

Weather did need the full width

Weather called for a different decision. I wanted it to occupy the row, with its icon, temperature and condition taking advantage of that space.

I gave each part a clearer visual role: a space for the icon, a recognizable temperature and a description toward the right. Controls stayed below, distributed across the row.

That helped me distinguish reducing a block’s size from organizing its contents. The clock’s solution did not have to be the weather widget’s solution too.

Try a less convenient label

“Partly cloudy” is longer than “Clear.” The composition needs to accommodate both without relying on the shorter label always arriving.

I also want to check English, loading and failure states. Missing temperature data and a different description can change how the row fits.

Further checks would include different widths, enlarged text and the actual button journey. Browser checks at 320 and 390 px helped detect overflow at those sizes; they do not amount to testing every phone.

Ask AI to inspect the same problem

AI helps me locate rules that may reserve width or inherit sizes from another layout. I still need to explain which visual relationship I want to change.

A request to “compact the widget” might change its height when I intended to redistribute the row. A more useful brief describes what stays and what moves.

Then I look again. A valid CSS change can address the wrong measurement.

Look at a small screen with a different intention

I want the site to retain its identity on mobile. That requires deciding again how its pieces coexist rather than assuming stacking them is enough.

When an area feels empty now, I try to identify what reserves that space before reducing margins. Sometimes the problem is the column; sometimes it is the internal arrangement.

The usability entry discusses reviewing journeys. This adjustment reminded me that observing how information is grouped belongs to that review too.

#responsive#design#usability#frontend

AN IDEA TO SHARE

Digital Craft field notes / 10
← What I write down so I can return to a projectWhat I ask of a test before trusting it →

Diagram detail

TIME / UTC−6

America/Mexico_City · UTC−6
THE WEATHER, NOW
— °CCheck current weather

Default city · location is used only when requested.

Data: Open-Meteo · CC BY 4.0

The Americas, Mexico and Mexico CityMexico is highlighted with a marker at Mexico City, the clock’s time zone. This is not your location.
A POINT ON THE MAP19.43° N / 99.13° W · UTC−6