ui: use absolute positionning when possible to optimize browse layout calculation (flexbox performs much worse)

This commit is contained in:
bordun 2020-04-20 12:01:45 +02:00
parent 6636f4a7e2
commit 707303252b
3 changed files with 38 additions and 7 deletions

View file

@ -29,8 +29,13 @@ input {
}
html, body {
height:100%;
position:relative;
position: absolute;
top:0;
left:0;
right:0;
bottom:0;
overflow:hidden;
overscroll-behavior: none;
background-color: var(--color-background);