mirror of
https://github.com/google/blockly.git
synced 2026-02-16 04:20:11 +01:00
feat!: Use box-sizing: border-box by default (#9556)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user