Repository navigation
fix: set page height to 100% instead of 100vh - #21025
Conversation
|
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;
}
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;
}
Co-authored-by: Sergey Vinogradov <mr.vursen@gmail.com>
|
This ticket/PR has been released with Vaadin 24.8.0.alpha2 and is also targeting the upcoming stable 24.8.0 version. |
|
@mshabarov Now there are some other things that has to be aligned as well. The documentation has wrong defaults as well as @bodysize https://vaadin.com/docs/latest/flow/advanced/modifying-the-bootstrap-page https://vaadin.com/api/platform/current/com/vaadin/flow/component/page/BodySize.html Context: https://vaadin.com/forum/t/set-vertical-layout-to-stretch-to-whole-screen/177997/11 Edit: all starters that use the old index.html have to be updated as well for example https://github.com/vaadin/base-starter-gradle/blob/v24/src/main/frontend/index.html |



Description
The PR modifies the page height from
100vhto100%to prevent the content area from extending underneath the navbar on mobile devices:Fixes #21024
Type of change