Commit 62b85c8
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 #7556
Task: 5212448
X-original-commit: f814b30
Signed-off-by: Pierre Rousseau (pro) <[email protected]>
Signed-off-by: Rémi Rahir (rar) <[email protected]>1 parent 49567a6 commit 62b85c8
2 files changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
341 | | - | |
| 341 | + | |
342 | 342 | | |
343 | | - | |
344 | | - | |
| 343 | + | |
| 344 | + | |
345 | 345 | | |
346 | 346 | | |
347 | | - | |
| 347 | + | |
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
| |||
0 commit comments