Skip to content

keep Scratch block pills whole when instructions wrap - #1637

Merged
zetter-rpf merged 3 commits into
mainfrom
1801-fix-scratch-inline-blocks-breaking-across-lines
Sep 14, 2026
Merged

zetter-rpf merged 3 commits into
mainfrom
1801-fix-scratch-inline-blocks-breaking-across-lines

Conversation

@jamiebenstead

@jamiebenstead jamiebenstead commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No unresolved review issues were identified.

Pull request overview

This pull request keeps Scratch block pills intact when instruction text wraps.

Changes:

  • Renders Scratch block <code> elements as inline blocks.
File summaries
File Description
src/assets/stylesheets/Instructions.scss Prevents Scratch block pills from splitting across lines.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@zetter-rpf

Copy link
Copy Markdown
Contributor

Seems like an improvement

I did notice from your video that this removes spacing between blocks when they are above and below each other:

Screenshot 2026-09-11 at 12 09 34

VS

Screenshot 2026-09-11 at 12 09 40

@jamiebenstead

Copy link
Copy Markdown
Contributor Author

Seems like an improvement

I did notice from your video that this removes spacing between blocks when they are above and below each other:

@zetter-rpf Good spot, I'll get that fixed now

@zetter-rpf zetter-rpf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one. I'll merge this in for you

@zetter-rpf
zetter-rpf merged commit 2b586e6 into main Sep 14, 2026
11 checks passed
@zetter-rpf
zetter-rpf deleted the 1801-fix-scratch-inline-blocks-breaking-across-lines branch September 14, 2026 08:43
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.

4 participants