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 long strings overflow display

Smaug#67396006aad0b615
diff --git a/frontend/styles/code.scss b/frontend/styles/code.scss
index 8746f36c..4989c6ec 100644
--- a/frontend/styles/code.scss
+++ b/frontend/styles/code.scss
@@ -5,6 +5,11 @@ pre code.hljs {
font-size: 14px;
}
+pre {
+ display: inline-block;
+ word-break: break-all;
+}
+
pre {
border-radius: 8px;
margin: 12px 2px;