diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-06-18 09:04:29 +0200 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2021-06-18 09:04:29 +0200 |
commit | 11445622fe6380b41c1d8c7cadad62a458f3db80 (patch) | |
tree | b77ed36a2288274456d8f0d1c56fcb8dcdec7dfd /src/App.vue | |
parent | 7c6c76f1ada813139cdd8ed9f9dce1199afe1324 (diff) |
Offset toastify when top bar is visible
To avoid overlapping with the top bar, the toastify notification is
shifted down.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'src/App.vue')
-rw-r--r-- | src/App.vue | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/App.vue b/src/App.vue index 31c0becda..62da7add3 100644 --- a/src/App.vue +++ b/src/App.vue @@ -451,6 +451,13 @@ export default { } </script> +<style lang="scss"> +/** override toastify position due to top bar */ +body.has-topbar .toastify-top { + top: 65px !important; +} +</style> + <style lang="scss" scoped> .content { height: 100%; |