Skip to content

Conversation

@cnaples79
Copy link

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 google#9348
@cnaples79 cnaples79 requested a review from a team as a code owner September 14, 2025 05:26
@cnaples79 cnaples79 requested a review from gonfunko September 14, 2025 05:26
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.

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

2 participants