Skip to content

Commit 43af9ab

Browse files
authored
feat!: Use box-sizing: border-box by default (#9556)
1 parent ba329e4 commit 43af9ab

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

core/css.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,15 @@ export function inject(hasCss: boolean, pathToMedia: string) {
5959
* The CSS content for Blockly.
6060
*/
6161
let content = `
62+
:is(
63+
.injectionDiv,
64+
.blocklyWidgetDiv,
65+
.blocklyDropdownDiv,
66+
.blocklyTooltipDiv,
67+
) * {
68+
box-sizing: border-box;
69+
}
70+
6271
.blocklySvg {
6372
background-color: #fff;
6473
outline: none;

0 commit comments

Comments
 (0)