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 center image

Smaug6739ac74a7d7c0b9
diff --git a/frontend/pages/dashboard/cdn/[id]/index.vue b/frontend/pages/dashboard/cdn/[id]/index.vue
index d87c0583..1dd51817 100644
--- a/frontend/pages/dashboard/cdn/[id]/index.vue
+++ b/frontend/pages/dashboard/cdn/[id]/index.vue
@@ -101,4 +101,10 @@ a {
color: $primary-color;
text-decoration: underline;
}
+.preview {
+ display: flex;
+ justify-content: center;
+ width: 100%;
+ height: 100%;
+}
</style>
diff --git a/frontend/pages/dashboard/cdn/[id]/preview.vue b/frontend/pages/dashboard/cdn/[id]/preview.vue
index d19e6bd9..f0895344 100644
--- a/frontend/pages/dashboard/cdn/[id]/preview.vue
+++ b/frontend/pages/dashboard/cdn/[id]/preview.vue
@@ -34,7 +34,7 @@ const copyLink = () => {
navigator.clipboard.writeText(link);
};
</script>
-<style lang="scss">
+<style scoped lang="scss">
.preview {
display: flex;
justify-content: center;