Skip to content

Commit 94dfac0

Browse files
authored
[web] Make sure the multi-view container fills the page (#19)
1 parent 6b0f8c6 commit 94dfac0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

web/index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,14 @@
3838
</script>
3939
<!-- This script adds the flutter initialization JS code -->
4040
<script src="flutter.js" defer></script>
41+
<style>
42+
body {
43+
margin: 0;
44+
}
45+
</style>
4146
</head>
4247
<body>
43-
<div style="width: 100%; height: 100%;">
48+
<div style="width: 100%; height: 100%; position: absolute;">
4449
<div id="left" style="width: 50%; height: 100%; float: left;"></div>
4550
<div id="right" style="width: 50%; height: 100%; float: left;"></div>
4651
</div>

0 commit comments

Comments
 (0)