π 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
Improve doc size
Smaug6739c764a936e8eb
diff --git a/frontend/app/components/MediumView.vue b/frontend/app/components/MediumView.vueindex 2defadd3..7df6bf05 100644--- a/frontend/app/components/MediumView.vue+++ b/frontend/app/components/MediumView.vue@@ -1,6 +1,6 @@<template><main ref="mediumContainer" class="medium-view" :style="{ paddingLeft: marginLeft, transition }">- <slot/>+ <slot /></main></template>diff --git a/frontend/app/pages/dashboard/docs/[id].vue b/frontend/app/pages/dashboard/docs/[id].vueindex 25957b16..a70cb241 100644--- a/frontend/app/pages/dashboard/docs/[id].vue+++ b/frontend/app/pages/dashboard/docs/[id].vue@@ -1,7 +1,7 @@<template><div v-if="article?.id" style="width: 100%; padding: 1rem 0"><div style="display: flex; justify-content: space-between">- <div :style="{ width: '100%', margin: 'auto', maxWidth: usePreferences().get('docSize') == 0 ? '980px' : '780px' }">+ <div :style="{ width: '80%', margin: 'auto', maxWidth: usePreferences().get('docSize') == 0 ? '980px' : '780px' }"><DocumentCardHeader :doc="article" style="margin-bottom: 20px" /><!-- eslint-disable-next-line vue/no-v-html --><article ref="element" :class="`${usePreferences().get('theme')}-theme`" style="max-width: 100%" v-html="article.content_html" />@@ -15,7 +15,7 @@</template><script setup lang="ts">-import type { Document } from '~/stores';+import type { Document } from '@/stores';import TableOfContent from './_components/table-of-content/TableOfContents.vue';import DocumentCardHeader from './_components/DocumentCardHeader.vue';import DocumentCardFooter from './_components/DocumentCardFooter.vue';