π 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 sidebar & pages & katex & media queries & cdn & editor
Veauville Raphael80118964fae8
diff --git a/@alexandrie/styles/src/katex.scss b/@alexandrie/styles/src/katex.scssindex ec20287f..1841d9ac 100644--- a/@alexandrie/styles/src/katex.scss+++ b/@alexandrie/styles/src/katex.scss@@ -11,7 +11,11 @@}.katex-container {+ line-height: 1.8em;+ display: inline-flex;+ vertical-align: baseline;max-width: 100%;- overflow: scroll hidden;+ overflow-y: hidden;+ overflow-x: auto;padding-right: 2px;}\ No newline at end of filediff --git a/dashboard/components/Preview.vue b/dashboard/components/Preview.vueindex 2c6a35d0..d7a98340 100644--- a/dashboard/components/Preview.vue+++ b/dashboard/components/Preview.vue@@ -59,6 +59,7 @@ const deleteDoc = (id: string) => documentsStore.delete(id);.container {max-height: 100%;overflow-y: scroll;+ overflow-x: hidden;}.card {diff --git a/dashboard/components/sidebar/sidebar.scss b/dashboard/components/sidebar/sidebar.scssindex 5abdf980..63899fae 100644--- a/dashboard/components/sidebar/sidebar.scss+++ b/dashboard/components/sidebar/sidebar.scss@@ -1,6 +1,6 @@// Variables$sidebar-icon-size: 22px;-$sidebar-width: 320px;+$sidebar-width: 290px;$bg: #1e2430;// Sidebar@@ -33,7 +33,7 @@ $bg: #1e2430;width: 0;&.open {- width: $sidebar-width+30px;+ width: $sidebar-width;}}}diff --git a/dashboard/pages/dashboard.vue b/dashboard/pages/dashboard.vueindex 549bba34..ffd61575 100644--- a/dashboard/pages/dashboard.vue+++ b/dashboard/pages/dashboard.vue@@ -1,6 +1,8 @@<template>- <div style="display: flex;width:100%;height: 100%;">- <Sidebar />+ <div style="display: flex; width: 100%; height: 100%;">+ <div>+ <Sidebar />+ </div><NuxtPage /></div>-</template>\ No newline at end of file+</template>diff --git a/dashboard/pages/dashboard/cdn.vue b/dashboard/pages/dashboard/cdn.vueindex 5489065c..a718c8ad 100644--- a/dashboard/pages/dashboard/cdn.vue+++ b/dashboard/pages/dashboard/cdn.vue@@ -100,7 +100,7 @@ const clearForm = () => selectedFile.value = null;gap: 1.5rem;padding: 2rem;border-radius: 8px;- width: 320px;+ width: 100%;margin: 0 auto;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);}diff --git a/dashboard/pages/dashboard/edit.vue b/dashboard/pages/dashboard/edit.vueindex 6f7db5d3..f407a180 100644--- a/dashboard/pages/dashboard/edit.vue+++ b/dashboard/pages/dashboard/edit.vue@@ -35,6 +35,6 @@ function save(doc: Document) {<style lang="scss" scoped>.container {width: 100%;- margin: 10px;+ padding: 12px;}</style>\ No newline at end of filediff --git a/dashboard/pages/dashboard/index.vue b/dashboard/pages/dashboard/index.vueindex cbcc9617..0b03c6a7 100644--- a/dashboard/pages/dashboard/index.vue+++ b/dashboard/pages/dashboard/index.vue@@ -35,7 +35,7 @@ main {}}-@media screen and (max-width: 768px) {+@media screen and (max-width: 860px) {.list {width: 100%;}diff --git a/dashboard/pages/dashboard/new.vue b/dashboard/pages/dashboard/new.vueindex 4c14f21b..2817b5a6 100644--- a/dashboard/pages/dashboard/new.vue+++ b/dashboard/pages/dashboard/new.vue@@ -24,6 +24,6 @@ function save(doc: Document) {<style lang="scss" scoped>.container {width: 100%;- margin: 5px;+ padding: 12px;}</style>\ No newline at end of file