Skip to content

Commit d6af1c8

Browse files
authored
fix: set page height to 100% instead of 100vh (#21025)
The PR modifies the page height from 100vh to 100% to prevent the content area from extending underneath the navbar on mobile devices: - body, #outlet { + html, body, #outlet { - height: 100vh; + height: 100%; width: 100%; margin: 0; }
1 parent 4f29383 commit d6af1c8

File tree

1 file changed

+2
-2
lines changed
  • flow-server/src/main/resources/com/vaadin/flow/server/frontend

1 file changed

+2
-2
lines changed

flow-server/src/main/resources/com/vaadin/flow/server/frontend/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<meta charset="UTF-8" />
99
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
1010
<style>
11-
body, #outlet {
12-
height: 100vh;
11+
html, body, #outlet {
12+
height: 100%;
1313
width: 100%;
1414
margin: 0;
1515
}

0 commit comments

Comments
 (0)