Zelos: normalize workspace comment font weight to match block comments by cnaples79 · Pull Request #9364 · RaspberryPiFoundation/blockly
Navigation Menu
{{ message }}
RaspberryPiFoundation / blockly Public
- Notifications You must be signed in to change notification settings
- Fork 3.8k
Open
cnaples79 wants to merge 1 commit intoRaspberryPiFoundation:mainfrom
Open
Zelos: normalize workspace comment font weight to match block comments#9364
cnaples79 wants to merge 1 commit intoRaspberryPiFoundation:mainfrom
Zelos: normalize workspace comment font weight to match block comments#9364
cnaples79 wants to merge 1 commit intoRaspberryPiFoundation:mainfrom
Conversation
Copy link Copy Markdown
cnaples79
commented
Sep 14, 2025
cnaples79
commented
This change makes workspace comments use a normal font weight, aligning them with block comments in the Zelos renderer.
What changed
- Add
font-weight: normal;to the workspace comment textarea rule (.blocklyComment .blocklyTextarea). - Add
font-weight: normal;to the workspace comment preview text rule (.blocklyComment .blocklyCommentPreview.blocklyText).
Why
- In Zelos, block comment bubbles already set
font-weight: normalvia${selector} .blocklyTextInputBubble textarea { font-weight: normal; }(constants.ts). - Workspace comments lacked an explicit rule and inherited the bold weight used for labels, creating a visual mismatch.
Scope
- Keeps behavior consistent across renderers by applying the normal weight at the workspace comment CSS layer.
- No functional behavior changes; only visual consistency.
Fixes #9348.
… Add font-weight: normal to workspace comment textarea and preview text\n- Aligns with Zelos .blocklyTextInputBubble textarea rule\n\nFixes RaspberryPiFoundation#9348
cnaples79
requested a review
from a team
as a code owner
cnaples79
requested a review
from gonfunko
github-actions
bot
assigned
gonfunko
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