π 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 and resize bug
Smaug6739e38be9384dcd
diff --git a/frontend/components/DocumentCardHeader.vue b/frontend/components/DocumentCardHeader.vueindex afc5d811..95c85b0d 100644--- a/frontend/components/DocumentCardHeader.vue+++ b/frontend/components/DocumentCardHeader.vue@@ -137,16 +137,11 @@ p {}}-@media screen and (min-width: 1024px) {+@media print,+screen and (min-width: 1024px) {.icon {display: block;}}--@media print {- .header {- padding: 0;- }-}</style>\ No newline at end of filediff --git a/frontend/components/sidebar/Resizable.vue b/frontend/components/sidebar/Resizable.vueindex 4b50ff2c..f48de246 100644--- a/frontend/components/sidebar/Resizable.vue+++ b/frontend/components/sidebar/Resizable.vue@@ -1,9 +1,8 @@<template><nav :class="{ open: isOpened }"><div class="sidebar no-select">- <div :style="{ width: panewidthCSS }">+ <div :style="{ width: panewidthCSS, maxHeight: '100%', overflowY: 'auto' }"><slot></slot>-</div><div class="separator" @mousedown="startResize"></div></div>@@ -60,7 +59,6 @@ nav {overflow-x: hidden;height: 100%;display: flex;-}.open {diff --git a/frontend/pages/dashboard/doc/[id].vue b/frontend/pages/dashboard/doc/[id].vueindex 9fe9b197..9c217e7c 100644--- a/frontend/pages/dashboard/doc/[id].vue+++ b/frontend/pages/dashboard/doc/[id].vue@@ -32,9 +32,12 @@ watchEffect(async () => {console.error("Error fetching document:", error);}} else article.value = docFromStore;+ useHead({ title: `Alexandrie ${article.value?.name || ''}` });});const next = computed(() => documentsStore.getNext(article.value));const previous = computed(() => documentsStore.getPrevious(article.value));++</script><style scoped>diff --git a/frontend/styles/_variables.scss b/frontend/styles/_variables.scssindex 5259c520..fc9b89a1 100644--- a/frontend/styles/_variables.scss+++ b/frontend/styles/_variables.scss@@ -14,7 +14,7 @@ $primary-400: #007bff;$primary-300: lighten($primary-400, 10%);$primary-500: darken($primary-400, 10%);-$selection-color: var(--bg-contrast-2);+$selection-color: rgba($primary-300, 0.9);@import "./font.scss";diff --git a/frontend/styles/main.scss b/frontend/styles/main.scssindex 456267e4..91178ff9 100644--- a/frontend/styles/main.scss+++ b/frontend/styles/main.scss@@ -32,6 +32,7 @@::selection {background-color: $selection-color;+ color: white;}@@ -58,9 +59,6 @@ body {}@media print {- body {- @include print-theme;- }header,footer,diff --git a/frontend/styles/theme.scss b/frontend/styles/theme.scssindex a5b80880..4cfa2669 100644--- a/frontend/styles/theme.scss+++ b/frontend/styles/theme.scss@@ -194,6 +194,10 @@ table {min-width: 400px;overflow-x: auto;+ thead {+ border-bottom: 1px solid var(--border-color);+ }+th,td {padding: 12px 15px;