diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-02-06 17:42:06 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-02-06 17:42:06 +0300 |
commit | 907708f5ee167d2be99e6648527c7a3390a6c136 (patch) | |
tree | 848c821a102c73d67280e2765fca1c0b19b7553e /css | |
parent | a8feac8b0b493941cb09e94885202a0e1f5afbcd (diff) |
Fix scrolling behaviour on Nextcloud >= 14
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'css')
-rw-r--r-- | css/viewer/odfviewer.scss | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/css/viewer/odfviewer.scss b/css/viewer/odfviewer.scss index 10cfa729..b3265968 100644 --- a/css/viewer/odfviewer.scss +++ b/css/viewer/odfviewer.scss @@ -37,7 +37,8 @@ #richdocumentsframe { background-color: #fff; width:100%; - height:100%; + /** TODO: This will probably look odd on 13 */ + height: calc(100vh - 50px); display:block; position:absolute; top:0; |