diff options
author | Marin Treselj <marin@pixelipo.com> | 2017-12-19 15:09:09 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-12-20 13:48:09 +0100 |
commit | eebc70cf1eaed59522859a56fddc0406ab336adb (patch) | |
tree | f38933c3fc3312d6f06c01bd394f788d274edf4c /core/css | |
parent | 228ca16bea8a39d50c0085d04396713763cdb288 (diff) | |
download | nextcloud-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.scss | 3 |
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 */ |