Update styling of instructions panel for Code Club projects#1335
Merged
cocomarine merged 11 commits intomainfrom Feb 23, 2026
Merged
Update styling of instructions panel for Code Club projects#1335cocomarine merged 11 commits intomainfrom
cocomarine merged 11 commits intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the editor instructions panel styling to align with the new CCP project markdown conventions (using plain markdown headings/IDs instead of task-fencing and bespoke heading classes), while preserving compatibility for existing content.
Changes:
- Adjust
h2spacing in the instructions panel to better suit markdown-rendered headings. - Add CCP-specific styling for step headings (
id="step-*"), and the “Now run your code” heading (id="now-run-your-code"), including a new play icon. - Remove the old “task” heading/box styling while keeping
.c-project-taskpresent for legacy content.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
src/assets/stylesheets/Instructions.scss |
Updates heading margins, adds new ID-based CCP step/run styling, and removes legacy task heading styling. |
src/assets/play_filled.svg |
Adds a new play icon used by the “Now run your code” styling. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
rammodhvadia
approved these changes
Feb 23, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 2 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
jamiebenstead
approved these changes
Feb 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #1324
Changes for CCP editor projects
Heading
instructions.scsswhich made the markdown h2 look strange..c-project-taskcss class for existing projects that contain the task fencing.Steps
id = step-1etc. probably by kramdown during project build'Now run your code`
id = now-run-your-codeCallouts
Screenshots
Before - After (with existing .md format) - After (with new .md format)

Impact on CEfE instructions panel?
CEfE instructions panel does use the
.project-instructionsclass with markdowns; however, the markdown headings don't get ids when used to populate the instruction panel. So there won't be any impact on CEfE.