The div that contains blocklyArea and output is now a horizontal flexbox container. This ensures that the two areas are always displayed side-by-side, and don't end up on separate lines
We wait a few milliseconds before calling resizeBlocklyArea() for the first time. I wish I could tell you why this is necessary, but it fixes an issue where the split wouldn't render correctly until the window got resized. We had to do the same thing in the FTC Blocks environment.
Commit-Lint commands
You can trigger Commit-Lint actions by commenting on this PR:
- `@Commit-Lint merge patch` will merge dependabot PR on "patch" versions (X.X.Y - Y change)
- `@Commit-Lint merge minor` will merge dependabot PR on "minor" versions (X.Y.Y - Y change)
- `@Commit-Lint merge major` will merge dependabot PR on "major" versions (Y.Y.Y - Y change)
- `@Commit-Lint merge disable` will desactivate merge dependabot PR
- `@Commit-Lint review` will approve dependabot PR
- `@Commit-Lint stop review` will stop approve dependabot PR
Key changes:
blocklyArea
andoutput
is now a horizontal flexbox container. This ensures that the two areas are always displayed side-by-side, and don't end up on separate linesresizeBlocklyArea()
for the first time. I wish I could tell you why this is necessary, but it fixes an issue where the split wouldn't render correctly until the window got resized. We had to do the same thing in the FTC Blocks environment.