diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-06-15 11:39:26 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-06-15 11:39:26 +0300 |
commit | 90d57b2353e4acbc36cc8ef784fe37f6c184342d (patch) | |
tree | 31c7df9f2a41f767790dc770e97fc327754e5fe3 | |
parent | d392585407cfd5abfd6b9f1880c96feeacc5447a (diff) |
Fix public footer and bottom spacing in editor
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r-- | css/style.scss | 17 | ||||
-rw-r--r-- | src/components/EditorWrapper.vue | 27 |
2 files changed, 26 insertions, 18 deletions
diff --git a/css/style.scss b/css/style.scss index e0768ccfa..9df279e6a 100644 --- a/css/style.scss +++ b/css/style.scss @@ -1,20 +1,3 @@ -// Fix share link footer for now by just not showing it -#body-public #content { - height: 100%; -} -#body-public footer { - display: none; -} - -#files-public-content { - width: 100% !important; - height: 100%; - - #editor-container { - top: 0; - } -} - .modal-container #editor-container { position: absolute; } diff --git a/src/components/EditorWrapper.vue b/src/components/EditorWrapper.vue index 3f2d28c25..4b1cc92d5 100644 --- a/src/components/EditorWrapper.vue +++ b/src/components/EditorWrapper.vue @@ -360,7 +360,6 @@ export default { </script> <style scoped lang="scss"> - #editor-container { display: block; width: 100vw; @@ -426,6 +425,32 @@ export default { .editor__content { max-width: 630px; margin: auto; + padding-bottom: 100px; + } + + #body-public { + height: auto; + } + + #files-public-content { + height: auto; + #editor-wrapper { + position: relative; + } + #editor-container { + top: 0; + + #editor::v-deep .menubar { + // sticky position is not working as body is our scroll container + position: fixed; + top: 50px; + width: 100%; + } + + #editor { + padding-top: 50px; + } + } } </style> |