Always put the gridview toggle on the visible part of the page

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2019-08-14 16:45:26 +02:00 committed by Backportbot
parent ed0f6033af
commit 7c63605886
1 changed files with 8 additions and 2 deletions

View File

@ -1061,9 +1061,15 @@ table.dragshadow td.size {
opacity: 1;
}
}
/* Make sure the hidden input is not rendered at all to avoid scrolling to top */
/**
* Make sure the hidden input is always
* on the visible scrolled area of the
* page to avoid scrolling to top when focusing
*/
#showgridview {
display: none;
position: fixed;
top: 0;
}
/* Adjustments for link share page */