diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2022-05-03 11:07:44 +0300 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2022-05-03 11:38:31 +0300 |
commit | 1b99e64fca12a893c5c5b2b4079690efca014e5b (patch) | |
tree | d48a732b5f8e380654fcf23b9df91ca6dee78a9f /src | |
parent | 7a75b33e630ace4f20db94441d8270efc24228d8 (diff) |
Adapt layout for https://github.com/nextcloud/viewer/pull/1229
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/views/PDFView.vue | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/views/PDFView.vue b/src/views/PDFView.vue index 5fa0eb1..eb77b0f 100644 --- a/src/views/PDFView.vue +++ b/src/views/PDFView.vue @@ -51,9 +51,10 @@ export default { <style lang="scss" scoped> iframe { - width: 100%; - top: 50px; position: absolute; - height: calc(100vh - 50px); + top: 0; + width: 100%; + height: calc(100vh - var(--header-height)); } + </style> |