Commit f814b30
committed
[FIX] Demo: Fix wrapper style
When we introduced the mobile mode, we started relying on the dynamic
vewport height (dvh) to account for the resizing of the viewport when
the virtual keyboard of a smarphone would pop up.
However, the rule we chose was to set the height of spreadsheet wrapper to
100dvh, which stands for 100% of the dynamic viewport height. As such,
if we were to add some header before the Spreadsheet component, the
latter would keep its size as 100% of the viewport, meaning that the
full component is pushed downwards and it overflows from the page.
This revision places the 100dvh rule over the full page to account for
any header that could be added in the future.
closes #7468
Task: 5212448
Signed-off-by: Pierre Rousseau (pro) <pro@odoo.com>1 parent 411165c commit f814b30
2 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | | - | |
| 329 | + | |
330 | 330 | | |
331 | | - | |
| 331 | + | |
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
335 | | - | |
| 335 | + | |
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| |||
0 commit comments