Skip to content

Commit 70ba3ee

Browse files
Add overflow hidden and 100% height
1 parent 86d25a2 commit 70ba3ee

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<link rel="icon" href="%BASE_URL%favicon.ico" />
6-
<meta name="viewport" content="width=device-width, initial-scale=1, interactive-widget=resizes-content" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
77
<meta name="theme-color" content="#6c4bc1" />
88
<title>micro:bit Python Editor</title>
99
<meta property="og:title" content="micro:bit Python Editor" />

src/App.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ body,
4040
.WorkbenchContainer,
4141
.Workbench {
4242
width: 100%;
43-
height: var(--full-svh, 100vh);
43+
height: 100%;
4444
}
45-
body {
45+
html, body {
4646
overflow: hidden;
4747
}

0 commit comments

Comments
 (0)