Skip to content

Correct floating comment editor layout - #57

Merged
chee merged 3 commits into
mainfrom
copilot/fix-comment-box-padding
Sep 9, 2026
Merged

Correct floating comment editor layout#57
chee merged 3 commits into
mainfrom
copilot/fix-comment-box-padding

Conversation

Copilot AI commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

The CodeMirror comment composer can render with excessive indentation and vertical offset, causing text to begin away from the top-left of the floating box.

  • Selector correction
    • Updated the popover theme to target the actual .comment-draft-editor element instead of the obsolete .comment-draft-textarea selector.
    • Restores the intended sizing rules:
      ".cm-comment-popover .comment-draft-editor": {
        boxSizing: "border-box",
        maxWidth: "100%",
      }

Co-authored-by: chee <178266+chee@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix incorrect padding around comment box in CodeMirror documents Correct floating comment editor layout Sep 8, 2026
Copilot AI requested a review from chee September 8, 2026 15:15
Co-authored-by: chee <178266+chee@users.noreply.github.com>
@patchcrow

patchcrow commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

✅ Patchwork glance ready

https://patchwork-preview-57--patchwork-base.netlify.app

Patchwork from inkandswitch/patchwork.inkandswitch.com, packages from this PR at 47b09d9.

build-info.json

@chee
chee marked this pull request as ready for review September 9, 2026 17:57
@chee
chee merged commit e4f9961 into main Sep 9, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

comment box often starts on the third line with an indent instead of top left

3 participants