Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Fix

Smaug6739fbbb4ec2961a
diff --git a/frontend/.env.development b/frontend/.env.development
index 6c049a37..3f3c70c6 100644
--- a/frontend/.env.development
+++ b/frontend/.env.development
@@ -1 +1 @@
-VITE_BASE_API="http://localhost:3000"
\ No newline at end of file
+VITE_BASE_API="http://192.168.0.25:3001"
\ No newline at end of file
diff --git a/frontend/bun.lockb b/frontend/bun.lockb
index ec672e54..1a88a2cb 100755
Binary files a/frontend/bun.lockb and b/frontend/bun.lockb differ
diff --git a/frontend/components/DHeader.vue b/frontend/components/DHeader.vue
index 72eb83a5..fe80764b 100644
--- a/frontend/components/DHeader.vue
+++ b/frontend/components/DHeader.vue
@@ -22,7 +22,6 @@ declare module 'vue-router' {
watchEffect(() => {
breadcrumbs.value = [];
- console.log(route.matched);
route.matched.forEach((match) => {
let name = '';
if (typeof match.meta.breadcrumb == 'function') name = match.meta.breadcrumb();
diff --git a/frontend/nuxt.config.ts b/frontend/nuxt.config.ts
index 23b0f1a8..acf9e3b4 100644
--- a/frontend/nuxt.config.ts
+++ b/frontend/nuxt.config.ts
@@ -1,6 +1,8 @@
export default defineNuxtConfig({
devtools: { enabled: true },
-
+ future: {
+ compatibilityVersion: 4,
+ },
vite: {
css: {
preprocessorOptions: {
diff --git a/frontend/package.json b/frontend/package.json
index 90cc918e..e7ad740a 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -7,7 +7,7 @@
"@types/katex": "^0.16.7",
"@types/markdown-it": "^13.0.8",
"@types/markdown-it-container": "^2.0.10",
- "@types/node": "^20.14.9",
+ "@types/node": "^20.14.11",
"katex": "^0.16.11",
"markdown-it": "^14.1.0",
"markdown-it-anchor": "^8.6.7",
@@ -17,8 +17,8 @@
"nuxt": "^3.12.3",
"pinia": "^2.1.7",
"punycode": "^2.3.1",
- "sass": "^1.77.6",
- "vue": "^3.4.31",
+ "sass": "^1.77.8",
+ "vue": "^3.4.32",
"vue-router": "^4.4.0"
},
"private": true,
diff --git a/frontend/styles/document-theme.scss b/frontend/styles/document-theme.scss
index 0682d741..122b00b0 100644
--- a/frontend/styles/document-theme.scss
+++ b/frontend/styles/document-theme.scss
@@ -1,4 +1,6 @@
.document-theme {
+ max-width: 100%;
+
a {
color: $primary-400;
@@ -7,5 +9,4 @@
}
}
- max-width: 100%;
}
\ No newline at end of file
diff --git a/frontend/styles/markdown.scss b/frontend/styles/markdown.scss
index 9211b782..009b46aa 100644
--- a/frontend/styles/markdown.scss
+++ b/frontend/styles/markdown.scss
@@ -50,43 +50,41 @@
}
.red {
+ color: var(--red);
+
.svg-icon {
fill: var(--red);
color: var(--red);
}
-
- color: var(--red);
}
.turquoise {
+ color: var(--turquoise);
+
.svg-icon {
fill: var(--turquoise);
color: var(--turquoise);
}
-
- color: var(--turquoise);
}
.blue {
-
+ color: var(--blue);
.svg-icon {
fill: var(--blue);
color: var(--blue);
}
-
- color: var(--blue);
}
.yellow {
+ color: var(--yellow);
+
.svg-icon {
fill: var(--yellow);
color: var(--yellow);
}
-
- color: var(--yellow);
}
p {
@@ -172,6 +170,8 @@
}
.custom-block {
+ margin-bottom: 5px;
+
p {
margin: 0px;
padding: 0px;
@@ -180,8 +180,6 @@
p+p {
margin: 8px 0;
}
-
- margin-bottom: 5px;
}
@@ -199,15 +197,19 @@
red {
color: var(--red);
}
+
blue {
color: var(--blue);
}
+
green {
color: var(--green);
}
+
yellow {
color: var(--yellow);
}
+
pink {
color: var(--pink);
}
\ No newline at end of file