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.

chore: remove old comments

Smaug67399ab783253d5c
diff --git a/frontend/app/pages/dashboard.vue b/frontend/app/pages/dashboard.vue
index 82ae213e..f484b755 100644
--- a/frontend/app/pages/dashboard.vue
+++ b/frontend/app/pages/dashboard.vue
@@ -1,5 +1,5 @@
<template>
- <div style="width: 100%; height: 100%">
+ <div class="dashboard-root">
<ClientOnly>
<BackToTop />
</ClientOnly>
@@ -7,17 +7,31 @@
<CommandCenter />
<MediumView>
<Navbar />
- <div style="width: 100%; height: calc(100% - 65px)"><NuxtPage /></div>
+ <div class="content">
+ <NuxtPage />
+ </div>
</MediumView>
</div>
</template>
<script setup lang="ts">
definePageMeta({ breadcrumb: 'Home' });
-// Initialize stores in parallel - don't block rendering but ensure they start immediately
const nodesStore = useNodesStore();
const userStore = useUserStore();
nodesStore.init();
userStore.fetch();
</script>
+
+<style lang="scss">
+.dashboard-root {
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+}
+
+.content {
+ flex: 1;
+ min-height: 0;
+}
+</style>