Skip to content

Conversation

@heliacer
Copy link

The basics

The details

Resolves

Fixes #9348

Proposed Changes

Makes font-weight handling consistent for block comment text and workspace comment text in the Zelos renderer

Before (block comment normal weight, workspace comment bold):

before

After (both comments normal weight):

after

Reason for Changes

There was an inconsistency in how font-weight was applied:

  • Block comments explicitly used font-weight: normal
  • Workspace comments inherited the theme’s bold weight (same as block labels)

This created a visual mismatch, aligning both ensures consistent styling

Test Coverage

I manually tested by adding block comments and workspace comments in the advanced playground

Documentation

None

Additional Information

None

@heliacer heliacer requested a review from a team as a code owner September 12, 2025 18:05
@heliacer heliacer requested a review from cpcallen September 12, 2025 18:05
@github-actions github-actions bot added the PR: fix Fixes a bug label Sep 12, 2025
Copy link
Contributor

@cpcallen cpcallen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

BTW: usually we leave the bug report open until the PR that fixes it has been merged, since GitHub will auto-close linked bugs.

@cpcallen
Copy link
Contributor

cpcallen commented Oct 3, 2025

@gonfunko: can you PTAL at this, to make sure that the CSS change doesn't have some unintended side effect?

(In particular I'm wondering if we have any .blocklyTextInputBubbles that do not contain .blocklyCommentText.)

@gonfunko
Copy link
Contributor

gonfunko commented Oct 3, 2025

Looks good to me, TextInputBubble has a CommentEditor and no way to swap that out for something else.

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

Labels

PR: fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

3 participants