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.

Improve sizes and margins

Smaug6739bdd62d695b82
diff --git a/frontend/components/MediumView.vue b/frontend/components/MediumView.vue
index 952df378..c46ff448 100644
--- a/frontend/components/MediumView.vue
+++ b/frontend/components/MediumView.vue
@@ -13,7 +13,7 @@ const transition = computed(() => (isResizing.value ? 'none' : 'margin-left 0.3s
<style scoped>
.medium-view {
- padding: 0 2rem;
+ padding: 0 1rem;
width: 100%;
height: 100%;
}
diff --git a/frontend/pages/dashboard/docs/[id].vue b/frontend/pages/dashboard/docs/[id].vue
index d6aef3bd..3a621c67 100644
--- a/frontend/pages/dashboard/docs/[id].vue
+++ b/frontend/pages/dashboard/docs/[id].vue
@@ -1,5 +1,5 @@
<template>
- <div v-if="article?.id" style="width: 100%">
+ <div v-if="article?.id" style="width: 100%; padding: 0 1rem">
<div style="display: flex; justify-content: space-between">
<div style="width: 100%; max-width: 980px; margin: auto">
<DocumentCardHeader :doc="article" style="margin-bottom: 20px" />