mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6092] [Issue]: Roleplay tray buttons are wrapped in unexpected div elements #3377
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#3377
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 (Sep 12, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6092
Originally assigned to: @SpicyMarinara on GitHub.
Summary
The "Peek prompt" and "Hide from AI" buttons in the roleplay button tray are wrapped by additional div elements inside .mari-message-actions. This makes them inconsistent with the other buttons and harder to target with custom CSS.
Expected behavior
All roleplay tray actions should use consistent button elements with their corresponding classes, without unnecessary wrapper elements that interfere with styling and targeting.
Actual behavior
The "Peek prompt" and "Hide from AI" actions are wrapped by div elements, while the other actions are direct button elements with their corresponding classes.
Steps to reproduce
Environment
Logs, screenshots, or video
Attached video: ttf1jxm.mp4 (https://cdn.discordapp.com/attachments/1548367919308734504/1548367921477329098/ttf1jxm.mp4?ex=6aa6cd7f&is=6aa57bff&hm=1786992d9132b4729bb4d0faf99e167561451d7c064a5e7b896db63d7ec99e49&). Attached text file: n1b8w6x.txt (https://cdn.discordapp.com/attachments/1548367919308734504/1548367991219949648/n1b8w6x.txt?ex=6aa6cd90&is=6aa57bff&hm=afab57e2070b24247e5ee953093eddeb2fd600bc44611ee63ac43c874a9f9c8f).
Additional context
The inconsistent markup makes targeting and styling these actions with custom CSS more difficult.
Discord thread: Some buttons in the roleplay button tray are wrapped by a div tag
Discord thread link: https://discord.com/channels/1417099416812392641/1548367919308734504
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (6 messages)
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 (Sep 12, 2026):
SpicyMarinara / Codex is handling this in draft PR #6095 as part of the requested issue sweep.
@SpicyMarinara commented on GitHub (Sep 12, 2026):
The buttons in question are actually "mark as new start" and "hide from AI".
@SpicyMarinara commented on GitHub (Sep 12, 2026):
Fixed on staging in #6095.
Roleplay recipient actions are direct buttons in the action tray. Their menus are positioned outside the tray so they remain visible, with outside-click/Escape dismissal and keyboard focus restoration. Desktop Chromium, Android Chromium, and iPhone WebKit checks pass.