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

This commit is contained in:
Aaron Dodson
2026-01-20 08:13:42 -08:00
committed by GitHub
parent ba329e40e7
commit 43af9ab704

View File

@@ -59,6 +59,15 @@ export function inject(hasCss: boolean, pathToMedia: string) {
* The CSS content for Blockly.
*/
let content = `
:is(
.injectionDiv,
.blocklyWidgetDiv,
.blocklyDropdownDiv,
.blocklyTooltipDiv,
) * {
box-sizing: border-box;
}
.blocklySvg {
background-color: #fff;
outline: none;