[GH-ISSUE #8367] [Issue]: Professor Mari's window: messages overflow on phones, stray line through the Chats tab #8298

Closed
opened 2026-10-27 06:07:06 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @ylli-selmani on GitHub (Oct 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8367

Originally assigned to: @ylli-selmani on GitHub.

Summary

On a phone, Professor Mari's messages run off the right edge of her window, and a stray vertical line cuts through the Chats tab in her header.

Expected behavior

  • Every line of a Mari message wraps inside her window, including long hashes and inline code.
  • The hairline that sets "Chats · +" apart from the other tabs sits at the tab's edge, not across its icon and label.

Actual behavior

  • Long content (a release-notes list with a sha256:… hash) makes the whole message wider than the screen. Plain words are cut too ("the panel loa…"), not just the hash, so a box around the message grows to the widest line instead of wrapping it.
  • A 1px vertical line crosses the Chats icon and the "Chats" text below it.

Steps to reproduce

  1. Open Professor Mari on a phone (or a ~375-390px viewport).
  2. Get a reply with a long unbroken string, e.g. a sha256: hash in inline code, inside a bullet list.
  3. The message runs past the right edge. Look at the header: a line runs through the Chats tab.

Environment

  • Marinara Engine version: staging 725aeda57
  • Install type: source
  • OS + version: Android (phone), Windows 11 (dev)
  • Browser or app shell: Chrome on Android

Logs, screenshots, or video

Phone screenshots from 2026-10-25 (release notes cut at the right edge; the line through Chats).

Additional context

Inline code already has overflow-wrap: anywhere, so the fix is on an ancestor (likely a flex item missing min-width: 0). The header line is the button[data-destination="chats"]::before hairline, which lands mid-tab in the phone layout. CSS only.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @ylli-selmani on GitHub (Oct 26, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8367 Originally assigned to: @ylli-selmani on GitHub. ## Summary On a phone, Professor Mari's messages run off the right edge of her window, and a stray vertical line cuts through the **Chats** tab in her header. ## Expected behavior - Every line of a Mari message wraps inside her window, including long hashes and inline code. - The hairline that sets "Chats · +" apart from the other tabs sits at the tab's edge, not across its icon and label. ## Actual behavior - Long content (a release-notes list with a `sha256:…` hash) makes the whole message wider than the screen. Plain words are cut too ("the panel loa…"), not just the hash, so a box around the message grows to the widest line instead of wrapping it. - A 1px vertical line crosses the Chats icon and the "Chats" text below it. ## Steps to reproduce 1. Open Professor Mari on a phone (or a ~375-390px viewport). 2. Get a reply with a long unbroken string, e.g. a `sha256:` hash in inline code, inside a bullet list. 3. The message runs past the right edge. Look at the header: a line runs through the Chats tab. ## Environment - Marinara Engine version: staging 725aeda57 - Install type: source - OS + version: Android (phone), Windows 11 (dev) - Browser or app shell: Chrome on Android ## Logs, screenshots, or video Phone screenshots from 2026-10-25 (release notes cut at the right edge; the line through Chats). ## Additional context Inline code already has `overflow-wrap: anywhere`, so the fix is on an ancestor (likely a flex item missing `min-width: 0`). The header line is the `button[data-destination="chats"]::before` hairline, which lands mid-tab in the phone layout. CSS only. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@ylli-selmani commented on GitHub (Oct 26, 2026):

Parking this, narrowed to the header line. Findings from 2026-10-26, on staging 725aeda57:

  • Long lines (B1): fixed already. Messages wrap inside the window at 375 and 411 px, including hashes, inline code, long code lines, tables, URLs and replies after tool work. Ylli can't reproduce it on the phone anymore either.
  • The Chats line (B2): still there, but only on a real Android phone. It shows in both Samsung Internet and Chrome on Android 10 (1080 px wide, installed app). It doesn't show in any desktop emulation: Chrome DevTools device mode, the Claude browser pane at 375 and 411 px, or touch emulation. It's steady and faint, so it's a border, not a caret.
  • In emulation, button[data-destination="chats"]::before measures left: -4.75px on a position: relative button, i.e. in the gap before the tab, where it belongs. On the phone it renders through the middle of the Chats icon and label.
  • Not the theme: the custom theme CSS doesn't touch the header destinations.
  • Next step when picked up: inspect it on the device (USB debugging, chrome://inspect on the PC; it didn't detect the phone this time). Read the ::before's box and its containing block on the phone itself.

🤖 Written by Claude Code

<!-- gh-comment-id:6420853216 --> @ylli-selmani commented on GitHub (Oct 26, 2026): Parking this, narrowed to the header line. Findings from 2026-10-26, on staging `725aeda57`: - **Long lines (B1): fixed already.** Messages wrap inside the window at 375 and 411 px, including hashes, inline code, long code lines, tables, URLs and replies after tool work. Ylli can't reproduce it on the phone anymore either. - **The Chats line (B2): still there, but only on a real Android phone.** It shows in both Samsung Internet and Chrome on Android 10 (1080 px wide, installed app). It doesn't show in any desktop emulation: Chrome DevTools device mode, the Claude browser pane at 375 and 411 px, or touch emulation. It's steady and faint, so it's a border, not a caret. - In emulation, `button[data-destination="chats"]::before` measures `left: -4.75px` on a `position: relative` button, i.e. in the gap before the tab, where it belongs. On the phone it renders through the middle of the Chats icon and label. - Not the theme: the custom theme CSS doesn't touch the header destinations. - Next step when picked up: inspect it on the device (USB debugging, `chrome://inspect` on the PC; it didn't detect the phone this time). Read the `::before`'s box and its containing block on the phone itself. _🤖 Written by [Claude Code](https://claude.com/claude-code)_
Author
Owner

@ylli-selmani commented on GitHub (Oct 29, 2026):

parked for now - i can't get replicate it on my pc, and my usb debugging doesn't work 🫩

<!-- gh-comment-id:6491837254 --> @ylli-selmani commented on GitHub (Oct 29, 2026): parked for now - i can't get replicate it on my pc, and my usb debugging doesn't work 🫩
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#8298
No description provided.