mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3897] [Issue]: Code blocks expand message width on iOS #2108
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#2108
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SpicyMarinara on GitHub (Jul 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3897
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Messages containing code-formatted text expand beyond the mobile viewport on iOS, making the message difficult or impossible to read.
Expected behavior
Code-formatted text should wrap or remain within the message container without affecting the readable width of the message.
Actual behavior
The text field expands to the width of the content inside the code block, causing the message block to extend beyond the mobile viewport and become unreadable.
Steps to reproduce
Environment
Logs, screenshots, or video
No screenshot, video, or logs were provided.
Additional context
The reporter stated that this occurs with any kind of code block or content enclosed in backticks.
Discord thread: [Bug] When putting in any kind of code block - messes up display on mobile
Discord thread link: https://discord.com/channels/1417099416812392641/1529076190516613180
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (1 message)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Jul 21, 2026):
Claimed for implementation by @SpicyMarinara in draft PR #3896.
@SpicyMarinara commented on GitHub (Jul 21, 2026):
Reopened after staging verification: inline code is contained, but fenced code blocks still widen the message. Follow-up work is starting from current staging.
@SpicyMarinara commented on GitHub (Jul 21, 2026):
Follow-up fix is in draft PR #3899 against staging.
@SpicyMarinara commented on GitHub (Jul 21, 2026):
Re-opening, since the text in ` or ``` doesn't wrap on mobiles.
@SpicyMarinara commented on GitHub (Jul 21, 2026):
Claimed by @SpicyMarinara for the current all-open-issues sweep in draft PR #3927.
@SpicyMarinara commented on GitHub (Jul 21, 2026):
Addressed in draft PR #3927. Mobile inline and fenced code now wrap within the message width, with a targeted 390px Roleplay browser regression.