[GH-ISSUE #5741] [Issue]: Professor Mari header controls collide with her avatar on narrow widths #3171

Closed
opened 2026-10-21 06:00:13 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @kolacheee on GitHub (Sep 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5741

Originally assigned to: @kolacheee on GitHub.

Summary

On narrow widths, Professor Mari's panel header control row (Chats / Skills / Memories / Permissions Mode / Restart) runs out of room and the Chats button edges into Mari's avatar. Reported from a desktop window resized to a mobile-ish width (~400–430px), where the overlap is plainly visible.

How to reproduce (try it yourself)

  1. Open Professor Mari on Home.
  2. Narrow the browser window to roughly phone width (~400px) — no device emulation needed.
  3. Look at the header row: the Chats button collides with the avatar on the left; the whole row is cramped.

What you'll see: the Chats button overlapping the avatar image. What should happen: the controls fit (or collapse) without touching the avatar at any width.

Where it is

packages/client/src/components/chat/HomeProfessorMariChat.tsx, the header control row (~lines 5990–6160). Current narrow-width handling only hides button labels (max-[360px]:hidden on Chats/Skills/Memories, max-[420px] on the Permissions Mode label, max-[380px] on Restart) — the buttons themselves never collapse or wrap, and the row has grown over time (badge counts, the Stop button, and most recently the Permissions Mode shield from #5730, which added one more control to the same row).

Suggested fix

The reporter's suggestion: combine Skills and Memories under one button (a single dropdown with both sections, badges summed or shown per-row inside), which frees enough width for the remaining controls at phone sizes. Alternatives worth weighing during the fix: collapsing overflow controls into a "…" menu below a width threshold, or letting the row wrap under the title. Whatever the shape, the avatar must never be overlapped.


Reported by the maintainer from a resized desktop window; screenshot available. Note #5730's new mode button increased pressure on this row, but label-hiding alone was already insufficient at ~360–400px.

Originally created by @kolacheee on GitHub (Sep 1, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5741 Originally assigned to: @kolacheee on GitHub. ## Summary On narrow widths, Professor Mari's panel header control row (Chats / Skills / Memories / Permissions Mode / Restart) runs out of room and the **Chats button edges into Mari's avatar**. Reported from a desktop window resized to a mobile-ish width (~400–430px), where the overlap is plainly visible. ## How to reproduce (try it yourself) 1. Open Professor Mari on Home. 2. Narrow the browser window to roughly phone width (~400px) — no device emulation needed. 3. Look at the header row: the Chats button collides with the avatar on the left; the whole row is cramped. **What you'll see:** the Chats button overlapping the avatar image. **What should happen:** the controls fit (or collapse) without touching the avatar at any width. ## Where it is `packages/client/src/components/chat/HomeProfessorMariChat.tsx`, the header control row (~lines 5990–6160). Current narrow-width handling only hides button *labels* (`max-[360px]:hidden` on Chats/Skills/Memories, `max-[420px]` on the Permissions Mode label, `max-[380px]` on Restart) — the buttons themselves never collapse or wrap, and the row has grown over time (badge counts, the Stop button, and most recently the Permissions Mode shield from #5730, which added one more control to the same row). ## Suggested fix The reporter's suggestion: **combine Skills and Memories under one button** (a single dropdown with both sections, badges summed or shown per-row inside), which frees enough width for the remaining controls at phone sizes. Alternatives worth weighing during the fix: collapsing overflow controls into a "…" menu below a width threshold, or letting the row wrap under the title. Whatever the shape, the avatar must never be overlapped. --- *Reported by the maintainer from a resized desktop window; screenshot available. Note #5730's new mode button increased pressure on this row, but label-hiding alone was already insufficient at ~360–400px.*
bsakaguchi 2026-10-21 06:00:13 +07:00
Author
Owner

@kolacheee commented on GitHub (Sep 2, 2026):

Implementation starting (kolacheee, via Claude session) - joining the combined Mari polish PR on branch fix/5752-5754-mari-polish (now also covering #5741-#5743).

<!-- gh-comment-id:5504082567 --> @kolacheee commented on GitHub (Sep 2, 2026): Implementation starting (kolacheee, via Claude session) - joining the combined Mari polish PR on branch fix/5752-5754-mari-polish (now also covering #5741-#5743).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3171
No description provided.