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: markdown syntax guide modal size on mobile

Smaug67398f0b342eba8d
diff --git a/frontend/app/components/MarkdownSyntax.vue b/frontend/app/components/MarkdownSyntax.vue
index 83f87497..9960e03b 100644
--- a/frontend/app/components/MarkdownSyntax.vue
+++ b/frontend/app/components/MarkdownSyntax.vue
@@ -263,6 +263,7 @@ import compile from '~/helpers/markdown';
.markdown-guide {
margin: auto;
line-height: 1.7;
+ max-width: 100%;
}
.content {
@@ -327,6 +328,9 @@ code {
}
@media screen and (width <= 800px) {
+ .content {
+ margin: 0.75rem 0.25rem;
+ }
.block-grid {
grid-template-columns: 1fr;
}