Skip to content

Commit 333a241

Browse files
committed
increase default height
1 parent 5c307ae commit 333a241

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

packages/markdown/src/remarkDirectiveBlockflowEditor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export default (ctx: HyperbookContext) => () => {
4949
src,
5050
project,
5151
width = "100%",
52-
height = "600px",
52+
height = "700px",
5353
aspectRatio,
5454
allowExtensions,
5555
showCostumesTab,

packages/markdown/tests/__snapshots__/remarkDirectiveBlockflowEditor.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
exports[`remarkDirectiveBlockflowEditor > should transform with steps 1`] = `
44
"
5-
<div class="directive-blockflow-editor" style="aspect-ratio: undefined; height: 600px; width: 100%">
5+
<div class="directive-blockflow-editor" style="aspect-ratio: undefined; height: 700px; width: 100%">
66
<iframe src="https://blockflow.openpatch.org?project=eyJ0aXRsZSI6IkJhc2ljIFR1dG9yaWFsIiwic2IzIjoiLi9wcm9qZWN0LnNiMyIsInN0ZXBzIjpbeyJ0aXRsZSI6IldlbGNvbWUiLCJ0ZXh0IjoiSGVsbG8gd29ybGQhIn0seyJ0aXRsZSI6IlN0ZXAgMiIsInRleHQiOiJEbyB0aGlzIHRoaW5nLiIsImltYWdlIjoiLi9zdGVwMi5wbmciLCJ2aWRlbyI6Ii4vc3RlcDIubXA0In1dfQ==" allowfullscreen></iframe>
77
</div>
88
"
99
`;
1010

1111
exports[`remarkDirectiveBlockflowEditor > should transform without steps 1`] = `
1212
"
13-
<div class="directive-blockflow-editor" style="aspect-ratio: undefined; height: 600px; width: 100%">
13+
<div class="directive-blockflow-editor" style="aspect-ratio: undefined; height: 700px; width: 100%">
1414
<iframe src="https://blockflow.openpatch.org?project=eyJ0aXRsZSI6Ik15IFR1dG9yaWFsIiwic2IzIjoiLi9wcm9qZWN0LnNiMyJ9" allowfullscreen></iframe>
1515
</div>
1616
"

website/de/book/elements/blockflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Wenn `project` gesetzt ist, werden alle anderen Konfigurationsattribute (`title`
130130
- **src**: Der Pfad oder die URL zur `.sb3`-Scratch-Projektdatei.
131131
- **project**: URL zu einer `.json`-Projektdatei. Wenn gesetzt, wird die Inline-Konfiguration ignoriert.
132132
- **width**: Die Breite des Editors. Standard `100%`.
133-
- **height**: Die Höhe des Editors. Standard `600px`.
133+
- **height**: Die Höhe des Editors. Standard `700px`.
134134
- **allowExtensions**: Scratch-Erweiterungen erlauben (`"true"` oder `"false"`).
135135
- **showCostumesTab**: Kostüme/Bühnenbilder-Tab anzeigen oder ausblenden (`"true"` oder `"false"`).
136136
- **showSoundsTab**: Klänge-Tab anzeigen oder ausblenden (`"true"` oder `"false"`).

website/en/book/elements/blockflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ When `project` is set, all other configuration attributes (`title`, `src`, `allo
129129
- **src**: The path or URL to the `.sb3` Scratch project file.
130130
- **project**: URL to a `.json` project file. When set, inline configuration is ignored.
131131
- **width**: The width of the editor. Defaults to `100%`.
132-
- **height**: The height of the editor. Defaults to `600px`.
132+
- **height**: The height of the editor. Defaults to `700px`.
133133
- **allowExtensions**: Allow Scratch extensions (`"true"` or `"false"`).
134134
- **showCostumesTab**: Show or hide the Costumes/Backdrops tab (`"true"` or `"false"`).
135135
- **showSoundsTab**: Show or hide the Sounds tab (`"true"` or `"false"`).

0 commit comments

Comments
 (0)