Skip to content

Conversation

@gonfunko
Copy link
Contributor

@gonfunko gonfunko commented Jan 8, 2026

The basics

The details

Resolves

Fixes #9205

Proposed Changes

This PR updates Blockly's CSS to use box-sizing: border-box by default for the core Blockly elements.

Breaking Changes

If you add custom elements as children of the blockly containers, ensure that your custom elements' styling is compatible with box-sizing: border-box. If you do not add custom elements as children of the blockly containers (such as the injection div) then this change is unlikely to affect you.

@gonfunko gonfunko requested a review from a team as a code owner January 8, 2026 18:20
@gonfunko gonfunko requested review from maribethb and removed request for a team January 8, 2026 18:20
@github-actions github-actions bot added breaking change Used to mark a PR or issue that changes our public APIs. PR: feature Adds a feature labels Jan 8, 2026
@gonfunko gonfunko added this to Blockly Jan 12, 2026
@github-project-automation github-project-automation bot moved this to Todo in Blockly Jan 12, 2026
@gonfunko gonfunko moved this from Todo to In Progress in Blockly Jan 12, 2026
@gonfunko gonfunko removed this from Blockly Jan 12, 2026
@github-actions github-actions bot added breaking change Used to mark a PR or issue that changes our public APIs. PR: feature Adds a feature and removed PR: feature Adds a feature breaking change Used to mark a PR or issue that changes our public APIs. labels Jan 19, 2026
Copy link
Contributor

@maribethb maribethb left a comment

Choose a reason for hiding this comment

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

LGTM, I added instructions to the PR description, please double check them for me :)

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

Labels

breaking change Used to mark a PR or issue that changes our public APIs. PR: feature Adds a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants