Skip to content

Commit a78241e

Browse files
committed
fix: mobile height.
1 parent ec65dac commit a78241e

13 files changed

+30
-30
lines changed

examples/auto-select.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
<style>
1818
html,
1919
body {
20-
width: 100vw;
21-
height: 100vh;
20+
width: 100%;
21+
height: 100%;
2222
overflow: hidden;
2323
}
2424
body {

examples/code-generator.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
}
2424
html,
2525
body {
26-
width: 100vw;
27-
height: 100vh;
26+
width: 100%;
27+
height: 100%;
2828
margin: 0;
2929
padding: 0;
3030
overflow: hidden;

examples/editing-restrictions.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
<style>
1818
html,
1919
body {
20-
width: 100vw;
21-
height: 100vh;
20+
width: 100%;
21+
height: 100%;
2222
overflow: hidden;
2323
}
2424
body {

examples/fullscreen.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
<style>
1818
html,
1919
body {
20-
width: 100vw;
21-
height: 100vh;
20+
width: 100%;
21+
height: 100%;
2222
overflow: hidden;
2323
}
2424
body {

examples/i18n.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
<style>
2424
html,
2525
body {
26-
width: 100vw;
27-
height: 100vh;
26+
width: 100%;
27+
height: 100%;
2828
overflow: hidden;
2929
}
3030
body {

examples/image-filter.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
<style>
1818
html,
1919
body {
20-
width: 100vw;
21-
height: 100vh;
20+
width: 100%;
21+
height: 100%;
2222
overflow: hidden;
2323
background: #171717;
2424
}
@@ -35,15 +35,15 @@
3535
position: absolute;
3636
left: 0;
3737
top: 0;
38-
width: 100vw;
39-
height: 50vh;
38+
width: 100%;
39+
height: 50%;
4040
}
4141
#result {
4242
position: absolute;
4343
left: 0;
4444
bottom: 0;
45-
width: 100vw;
46-
height: 50vh;
45+
width: 100%;
46+
height: 50%;
4747
display: flex;
4848
align-items: center;
4949
}

examples/light-dark.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
<style>
1818
html,
1919
body {
20-
width: 100vw;
21-
height: 100vh;
20+
width: 100%;
21+
height: 100%;
2222
overflow: hidden;
2323
}
2424
body {

examples/live-testing.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
}
2626
html,
2727
body {
28-
width: 100vw;
29-
height: 100vh;
28+
width: 100%;
29+
height: 100%;
3030
margin: 0;
3131
padding: 0;
3232
overflow: hidden;

examples/multi-conditional-switch.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
<style>
1818
html,
1919
body {
20-
width: 100vw;
21-
height: 100vh;
20+
width: 100%;
21+
height: 100%;
2222
overflow: hidden;
2323
}
2424
body {

examples/particles.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
}
2525
html,
2626
body {
27-
min-width: 100vw;
28-
min-height: 100vh;
27+
min-width: 100%;
28+
min-height: 100%;
2929
margin: 0;
3030
padding: 0;
3131
overflow: hidden;

examples/rendering-test.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
<style>
1818
html,
1919
body {
20-
width: 100vw;
21-
height: 100vh;
20+
width: 100%;
21+
height: 100%;
2222
overflow: hidden;
2323
}
2424
body {

examples/simple-flow.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
<style>
1818
html,
1919
body {
20-
width: 100vw;
21-
height: 100vh;
20+
width: 100%;
21+
height: 100%;
2222
overflow: hidden;
2323
}
2424
body {

examples/stress-test.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
<style>
1818
html,
1919
body {
20-
width: 100vw;
21-
height: 100vh;
20+
width: 100%;
21+
height: 100%;
2222
overflow: hidden;
2323
}
2424
body {

0 commit comments

Comments
 (0)