Make contorls stick to the top when scrolling

Signed-off-by: Marin Treselj <marin@pixelipo.com>
This commit is contained in:
Marin Treselj 2017-12-19 15:09:09 +01:00 committed by John Molakvoæ (skjnldsv)
parent 228ca16bea
commit eebc70cf1e
No known key found for this signature in database
GPG Key ID: FB5ACEED51955BF8
2 changed files with 2 additions and 5 deletions

View File

@ -48,10 +48,6 @@
width: 100%;
}
#filestable.has-controls {
top: 44px;
}
#filestable tbody tr {
height: 51px;
}

View File

@ -223,7 +223,7 @@ body {
#controls {
box-sizing: border-box;
position: relative;
position: sticky;
height: 44px;
padding: 0;
margin: 0;
@ -234,6 +234,7 @@ body {
-ms-user-select: none;
user-select: none;
display: flex;
top: 0;
}
/* position controls for apps with app-navigation */