Hi AI MeetingPublic meetingMy meetingsShelfStatsBlog

HI AI MEETING · Dev notes

At 360px, the Conversation Was Nearly Gone

At phone width, fixed sections in the meeting room consumed most of the screen height and left little room for the conversation. We measured each section at 360px and 412px, then fixed narrow-screen CSS rules that were losing on specificity.

By Hi AI Meeting 운영팀16 min read

At 360px, the conversation was the first thing to disappear

The Hi AI Meeting room runs from top to bottom through four areas: the stage, the log header, the conversation pane, and the bottom action bar. On desktop, all four fit comfortably. At phone width, the fixed-height areas took their share of the screen first, leaving only a palm-sized area for the conversation people came to read.

The new-meeting setup dialog had the same problem. At 360px wide, its fixed bottom area for the estimate and buttons used 283px, leaving 405px for the settings body.

We checked the layout at 360px and 412px. Every figure below is in CSS px. The 412px value comes from the 412dp emulator width used for the app check.

We measured height before deciding what to remove

The goal was not simply to make the interface look smaller. We measured the same areas before and after the changes and started with the ones that took up the most height.

Screen / areaMeasured widthBeforeAfter
Setup dialog fixed bottom area360px283px143px
Setup dialog visible body height360px405px546px
Setup dialog total body length (participants collapsed)412px4,253px3,733px
Meeting room log header412px116px43px
Meeting room bottom action barnot recorded151px56px
Meeting room stage (configuration hitting the floor)not recorded145px105px

The bottom-action-bar and stage rules apply at 640px and below. However, the record does not preserve the width, participant count, viewport height, or measurement tool for those two rows. It also does not say whether the figures came from browser device mode or a physical device.

At 360px wide, the log-header label drops to a small second line, making the header 65px tall. We recorded the height removed from each area, but did not separately measure how much the conversation pane grew. Not recording conditions next to every figure is the largest limitation of this work.

Why the setup-dialog buttons became two rows

The first problem was the preset tabs. At narrow widths, the buttons were squeezed and Korean names wrapped one character at a time. We applied white-space: nowrap and flex-shrink: 0, then changed the layout to a 2×2 grid at 640px and below.

The larger problem was the bottom buttons. We had already written a flex: 1 rule for 900px and below so the buttons could share one row, but they still stacked into two rows on phones.

The cause was CSS specificity.

/* 기본 규칙: :root + 클래스 둘 → 0-3-0 */
:root .dialog .primaryBtn { flex-shrink: 0; white-space: nowrap; }

/* 900px 이하 규칙: 클래스 하나 → 0-1-0 */
@media (max-width: 900px) {
  .primaryBtn { flex: 1; }
}

The Korean comments label the base rule and the rule for widths at or below 900px; the selector weights are 0-3-0 and 0-1-0, respectively.

A selector does not become stronger simply because it is inside a media query. Specificity comes from the selector itself, and a pseudo-class such as :root has the same weight as one class. The base rule's flex-shrink: 0 and nowrap therefore continued to win, and buttons that could not shrink wrapped onto the next line.

At 640px and below, we used :root .dialog .footerTop .primaryBtn, a selector one step stronger than the base rule (0-4-0). Adding flex: 1 1 0 and min-width: 0 let the buttons fit on one line.

We also placed the estimate's amount and time cells side by side and truncated helper text on one line. At 640px and below, the dialog opens with the participant list collapsed. The list had been the main reason the dialog became so long, and its place now shows a summary line.

We also changed the dialog's maximum height.

max-height: min(96vh, calc(100dvh - 16px));

In phone browsers, vh does not change when browser controls such as the address bar move. When those controls are expanded, 100vh can be taller than the visible area and push the bottom of the dialog off screen. Using dvh, which changes with the browser controls, keeps the dialog within the visible height.

The new-meeting setup dialog on a 360px-wide phone: the original screen on the left, and preset tabs and cards arranged in two columns on the right.

The largest recovery in the setup dialog was 140px from its fixed bottom area. We adjusted the layout, including fixing an existing narrow-screen rule that had been losing on specificity. We did not measure how much each change contributed to the 140px reduction.

In the meeting room, we removed wrapping and kept scrolling where it mattered

The log header had spread tabs, reactions, and the “AI-generated content” label across multiple lines. Putting them on one line reduced the header from 116px to 43px at 412px wide.

The bottom action bar needed a different approach. Its existing rule at 720px and below allowed wrapping, so playback, speed, sound effects, the round step, and the visibility label stacked into three lines.

At 640px and below, we disabled wrapping and allowed overflowing items to scroll horizontally inside the bar.

@media (max-width: 640px) {
  .room :global(.supervision-action-bar) {
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .room :global(.supervision-action-bar) > * { flex: none; }
}

The bar already had overflow-x: auto, so turning off wrapping was enough. The “Free · Always public” label, which had previously appeared clipped at the sides, can now be reached by scrolling within the bar.

There is a limitation. The scrollbar is hidden, and there is no shadow or arrow to indicate that more items follow. We have not yet checked whether users notice that the bar can be scrolled.

The meeting room bottom action bar at 360px wide: the “Free · Always public” notice at the right continues beyond the edge of the bar.

We recovered horizontal space as well. The avatar on each statement card now appears only beside the name line, and we removed the body's 49px indent. The statement body can use the card's full width.

The meeting room at 412px wide after the rework, showing the reduced log-header height at the top and bottom action-bar height below; the conversation content is blurred.

We kept the stage shape and lowered only the actor-slot floor

One proposal was to turn the stage into a thin strip that showed only faces. The stage is the face of this service, so we kept its form. Instead, on 2026-10-24, we lowered the minimum actor-slot size only on mobile.

On the stage, an actor slot determines the figure's height. Its size is (stage width − 12px margin) ÷ number of actors, clamped between minimum and maximum values. We did not directly change the stage height. At 640px and below, we changed the floor in that calculation from 144px to 104px.

export const STAGE_COMPACT_MIN_SLOT_PX = 104;

export function stageSlotPx(viewportWidth: number, actorCount: number, minSlotPx = STAGE_MIN_SLOT_PX): number {
  const count = Math.max(1, Math.trunc(actorCount));
  const available = (viewportWidth - STAGE_SIDE_INSET_PX) / count;
  return clampNumber(available, minSlotPx, STAGE_MAX_SLOT_PX);
}

Here, “actors” means everyone standing on the stage: the facilitator and AI participants. A meeting with three AIs has four actors, so the actual result varies with meeting size.

Input (width · actors)ComputedSlot beforeSlot after
360px · 2174px174px174px
360px · 3116px144px116px
360px · 487px144px104px
412px · 4100px144px104px

At 360px wide, three actors reduce the slot from 144px to 116px. Four or more actors—three or more AIs—reach the new 104px floor. In that configuration, the stage shrank from 145px to 105px according to the measurement in the commit record. With only two actors, nothing changes.

The 104px value was not arbitrary. The number badge on a figure's chest became difficult to read below 72px, so we chose a value with room above that threshold. Stage behavior such as camera movement, and the desktop screen, remain unchanged.

System bars belong to the app shell, not web CSS

The Android app also had a problem with the status and navigation bars covering the screen. Solving that in web CSS would require safe-area padding rules on every screen.

Instead, the web does not enable viewport-fit=cover, and the app shell places the WebView inside the system bars. That is the boundary we chose. Why Our Android App Has No Screens of Its Own covers this decision.

We would start the same way next time

We first decided what would not change. The desktop screen and the stage's form were both preserved. Then we measured each area's height and reduced the largest numbers first.

This result did not come only from creating a new mobile layout. In particular, the setup dialog’s bottom area became 140px shorter; the changes included fixing an existing rule that was losing on selector specificity.

When a narrow-screen rule has been written but does not apply, checking selector weight before the media query itself is often faster. In the next rework, we plan to record width, height, participant count, and measurement tool beside every figure.