Skip to content

feat!: Use box-sizing: border-box by default#9556

Merged
gonfunko merged 1 commit intov13from
border-box
Jan 20, 2026
Merged

feat!: Use box-sizing: border-box by default#9556
gonfunko merged 1 commit intov13from
border-box

Conversation

@gonfunko
Copy link
Copy Markdown
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
Copy Markdown
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 :)

@gonfunko gonfunko merged commit 43af9ab into v13 Jan 20, 2026
14 of 15 checks passed
@gonfunko gonfunko deleted the border-box branch January 20, 2026 16:13
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.

2 participants