Skip to content

Commit 0d97447

Browse files
authored
Merge pull request #27 from Malvoz/examples-remove-scrollbar
Remove scrollbars due to document overflow in the example page
2 parents 45a7c87 + dae7d64 commit 0d97447

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

examples/Section5-1.html

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@
66
<title>Requirements - Section 5.1.html</title>
77
<script type="module" src="../dist/mapml-viewer.js"></script>
88
<style>
9-
html,
10-
body {
11-
height: 100%;
12-
}
13-
* {
14-
margin: 0;
15-
padding: 0;
16-
}
9+
html,
10+
body {
11+
height: 100%;
12+
}
13+
body {
14+
margin: 0;
15+
}
16+
*, ::before, ::after {
17+
box-sizing: border-box;
18+
}
1719

1820
/* Specifying the `:defined` selector is recommended to style the map
1921
element, such that styles don't apply when fallback content is in use

0 commit comments

Comments
 (0)