Add rf-node-label class to node labels and protect settings gear#36
Merged
philippjfr merged 4 commits intomainfrom Feb 11, 2026
Merged
Add rf-node-label class to node labels and protect settings gear#36philippjfr merged 4 commits intomainfrom
rf-node-label class to node labels and protect settings gear#36philippjfr merged 4 commits intomainfrom
Conversation
Co-authored-by: MarcSkovMadsen <42288570+MarcSkovMadsen@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add class name to label for improved styling
Add Feb 9, 2026
rf-node-label class to node labels
…label review feedback
| } | ||
|
|
||
| .rf-node-toolbar-button { | ||
| position: absolute; |
Contributor
There was a problem hiding this comment.
This solves #41. Don't know if its the best way to do it.
Contributor
Contributor
|
@copilot . Please update the initial comment taking my PR changes into account. |
MarcSkovMadsen
approved these changes
Feb 9, 2026
Contributor
Author
The PR now includes both changes:
The CSS change allows the toolbar button and label to flow together properly, enabling labels to be styled as pills/badges without positioning conflicts. Example styling: .rf-node-label {
background: #3477db;
color: white;
padding: 4px 12px;
border-radius: 12px;
display: inline-block;
}Note: I cannot directly edit the PR description, but the changes are documented in the commit history and this comment. |
Copilot
AI
changed the title
Add
Add Feb 9, 2026
rf-node-label class to node labelsrf-node-label class to node labels and improve toolbar button layout
rf-node-label class to node labels and improve toolbar button layoutrf-node-label class to node labels and protect settings gear
MarcSkovMadsen
approved these changes
Feb 9, 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.

Node labels had no class name, preventing CSS-based styling customization. Additionally, the toolbar button positioning prevented proper label styling as pills/badges.
Changes
className="rf-node-label"to the label div inmakeNodeComponentrf-node-*naming convention.rf-node-toolbar-buttonCSS fromposition: absolutetofloat: rightwith proper marginsUsage
Users can now target labels with CSS and style them as pills/badges:
Rendered output:
Screenshots
Basic label with class:
Styled labels example:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.