mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
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#8717
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8639
Author: @SpicyMarinara
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/resize-cursor-8621📝 Commits (2)
054d842fix(layout): sidebar edges show the resize cursor with the custom cursor one2c3b00fix(layout): a sidebar drag keeps its cursor across other resize edges📊 Changes
3 files changed (+149 additions, -51 deletions)
View changed files
➕
e2e/sidebar-resize-cursor.e2e.ts(+94 -0)📝
packages/client/src/components/layout/AppShell.tsx(+6 -6)📝
packages/client/src/styles/globals.css(+49 -45)📄 Description
Closes #8621
Why this change
Users can resize the left and right sidebars by dragging their edges, but the cursor never changes on hover, so the feature is hard to discover — the reporter only found it by accident.
The handles already had
cursor-col-resize. The cause is Marinara's custom cursor, which is on by default: it forces its accent-coloured arrow onto every element withcursor: var(--marinara-custom-cursor) !important, and the resize classes were folded into that override (globals.css§6). So no resize edge anywhere in the app showed a resize cursor, not just the sidebars.What changed
col-resize,ew-resize,nwse-resize, …), each class keeping exactly the cursor it names. These rules carry real specificity, so none of the:where()custom-cursor rules can take them back. Everything else keeps the custom arrow as designed.document.body.style.cursor = "col-resize"the drag used was itself overridden by the same!importantrule (and, with the custom cursor off, by any child that sets its own cursor). The two sidebar drags now setdata-marinara-resizing="col"on the root, and one rule showscol-resizeeverywhere until the drag ends on release or window blur.This also restores the resize cursor on other resize edges that use these classes (floating windows, the Mari companion panel), since they hit the same override.
Validation
e2e/sidebar-resize-cursor.e2e.ts(desktop only; the handles are hidden belowmd): both handles showcol-resize; a point far from either handle showscol-resizeduring a drag and its usual cursor after release; with the custom cursor on and off. 2/2 pass.url("data:image/svg+xml,…") 3 3, auto— the accent arrow — instead ofcol-resize, and the drag set no page-wide cursor.tsc --noEmitfor the client andcheck:e2e-typespass;linthas 0 errors (10 existing warnings, none in these files); Prettier clean.Test plan
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.