π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
fix print theme and scroll
Smaug6739044efcc2712d
diff --git a/frontend/App.vue b/frontend/App.vueindex 6d2247b9..275fee1b 100644--- a/frontend/App.vue+++ b/frontend/App.vue@@ -1,6 +1,6 @@<template>- <div id="app">- <NuxtPage style="overflow:auto;" id="app-scroll" />+ <div>+ <NuxtPage id="app-scroll" /><div id="backdrop"></div><Notification /><ClientOnly>@@ -14,19 +14,4 @@ import { useDocumentsStore, useCategoriesStore } from './store';useDocumentsStore().fetch();useCategoriesStore().fetch();--</script>-<style scoped lang="scss">-#app {- height: 100vh;- overflow: hidden;- display: flex;- flex-direction: column;-}--@media print {- #app {- height: auto;- }-}-</style>\ No newline at end of file+</script>\ No newline at end of filediff --git a/frontend/components/BackToTop.vue b/frontend/components/BackToTop.vueindex 31bfe72c..fd937385 100644--- a/frontend/components/BackToTop.vue+++ b/frontend/components/BackToTop.vue@@ -15,9 +15,7 @@ onMounted(() => {scrollTop.value = getScrollTop();scroll_element.addEventListener('scroll', onScroll);});-onUnmounted(() => {- scroll_element.removeEventListener('scroll', onScroll);-});+onUnmounted(() => scroll_element.removeEventListener('scroll', onScroll));</script><style scoped lang="scss">@@ -44,16 +42,6 @@ onUnmounted(() => {}}-.back-to-top-enter-active,-.back-to-top-leave-active {- transition: opacity $transition-duration;-}--.back-to-top-enter-from,-.back-to-top-leave-to {- opacity: 0;-}-@media print {.back-to-top {display: none;diff --git a/frontend/styles/_variables.scss b/frontend/styles/_variables.scssindex ef2a015a..5259c520 100644--- a/frontend/styles/_variables.scss+++ b/frontend/styles/_variables.scss@@ -49,7 +49,7 @@ $transition-duration: 0.3s;--yellow: #FF9800;--yellow-bg: rgba(255, 193, 7, 0.15);--yellow-border: rgba(255, 193, 7, 0.3);- --turquoise: #17A2B8;+ --turquoise: #00ADB5;--turquoise-bg: rgba(23, 162, 184, 0.2);--turquoise-border: rgba(23, 162, 184, 0.25);diff --git a/frontend/styles/main.scss b/frontend/styles/main.scssindex 505ac7ea..456267e4 100644--- a/frontend/styles/main.scss+++ b/frontend/styles/main.scss@@ -12,9 +12,6 @@box-sizing: border-box;}---::-webkit-scrollbar {width: 2px;background: var(--bg-contrast);@@ -37,10 +34,6 @@background-color: $selection-color;}-html {- overflow: hidden;-}-body {background: var(--bg-color);@@ -67,18 +60,6 @@ body {@media print {body {@include print-theme;-- }-- #doc,- #doc * {- visibility: visible;- }-- #doc {- position: absolute;- left: 0;- top: 0;}header,