Zelos: normalize workspace comment font weight to match block comments by cnaples79 · Pull Request #9364 · RaspberryPiFoundation/blockly

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@cnaples79

Copy link Copy Markdown

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: normal via ${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 cnaples79 requested a review from a team as a code owner

September 14, 2025 05:26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@gonfunko gonfunko Awaiting requested review from gonfunko gonfunko was automatically assigned from google/blockly-eng

At least 1 approving review is required to merge this pull request.

Assignees

@gonfunko gonfunko

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Separating font weight between Comments (Block/Workspace) and Block labels

2 participants

@cnaples79 @gonfunko