Skip to content

Commit

Permalink
Fix example button position (#3593)
Browse files Browse the repository at this point in the history
  • Loading branch information
JaeSeoKim authored Jan 18, 2024
1 parent bb219f0 commit 45d250c
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 20 deletions.
3 changes: 2 additions & 1 deletion test/examples/animate-a-line.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<style>
button {
position: absolute;
top: 0;
margin: 20px;
}

Expand Down Expand Up @@ -131,4 +132,4 @@
});
</script>
</body>
</html>
</html>
8 changes: 5 additions & 3 deletions test/examples/change-building-color-based-on-zoom-level.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
<style>
#zoom {
display: block;
position: relative;
margin: 20px auto;
position: absolute;
top: 20px;
left: 50%;
transform: translate(-50%);
width: 50%;
height: 40px;
padding: 10px;
Expand Down Expand Up @@ -67,4 +69,4 @@
});
</script>
</body>
</html>
</html>
8 changes: 5 additions & 3 deletions test/examples/fitbounds.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
<style>
#fit {
display: block;
position: relative;
margin: 0px auto;
position: absolute;
top: 20px;
left: 50%;
transform: translate(-50%);
width: 50%;
height: 40px;
padding: 10px;
Expand Down Expand Up @@ -49,4 +51,4 @@
});
</script>
</body>
</html>
</html>
8 changes: 5 additions & 3 deletions test/examples/flyto-options.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
<style>
#fly {
display: block;
position: relative;
margin: 0px auto;
position: absolute;
top: 20px;
left: 50%;
transform: translate(-50%);
width: 50%;
height: 40px;
padding: 10px;
Expand Down Expand Up @@ -78,4 +80,4 @@
});
</script>
</body>
</html>
</html>
8 changes: 5 additions & 3 deletions test/examples/flyto.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
<style>
#fly {
display: block;
position: relative;
margin: 0px auto;
position: absolute;
top: 20px;
left: 50%;
transform: translate(-50%);
width: 50%;
height: 40px;
padding: 10px;
Expand Down Expand Up @@ -54,4 +56,4 @@
});
</script>
</body>
</html>
</html>
8 changes: 5 additions & 3 deletions test/examples/language-switch.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@
<body>
<style>
#buttons {
display: flex;
justify-content: space-between;
position: absolute;
top: 20px;
width: 90%;
margin: 0 auto;
}
.button {
display: inline-block;
position: relative;
cursor: pointer;
width: 20%;
padding: 8px;
Expand Down Expand Up @@ -64,4 +66,4 @@
});
</script>
</body>
</html>
</html>
8 changes: 5 additions & 3 deletions test/examples/mouse-position.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
<style type="text/css">
#info {
display: block;
position: relative;
margin: 0px auto;
position: absolute;
top: 20px;
left: 50%;
transform: translate(-50%);
width: 50%;
padding: 10px;
border: none;
Expand Down Expand Up @@ -50,4 +52,4 @@
});
</script>
</body>
</html>
</html>
4 changes: 3 additions & 1 deletion test/examples/render-world-copies.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
<style>
#menu {
position: absolute;
top: 0;
left: 0;
background: #fff;
padding: 10px;
font-family: 'Open Sans', sans-serif;
Expand Down Expand Up @@ -57,4 +59,4 @@
}
</script>
</body>
</html>
</html>

0 comments on commit 45d250c

Please sign in to comment.