summaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
authorMarin Treselj <marin@pixelipo.com>2017-12-19 15:09:09 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-12-20 13:48:09 +0100
commiteebc70cf1eaed59522859a56fddc0406ab336adb (patch)
treef38933c3fc3312d6f06c01bd394f788d274edf4c /core/css
parent228ca16bea8a39d50c0085d04396713763cdb288 (diff)
downloadnextcloud-server-eebc70cf1eaed59522859a56fddc0406ab336adb.tar.gz
nextcloud-server-eebc70cf1eaed59522859a56fddc0406ab336adb.zip
Make contorls stick to the top when scrolling
Signed-off-by: Marin Treselj <marin@pixelipo.com>
Diffstat (limited to 'core/css')
-rw-r--r--core/css/styles.scss3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/css/styles.scss b/core/css/styles.scss
index 54775f67f62..edcaeb17429 100644
--- a/core/css/styles.scss
+++ b/core/css/styles.scss
@@ -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 */