Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

fix: fontsize

Gus2a75670c2f55
diff --git a/src/web/src/app/globals.css b/src/web/src/app/globals.css
index 490286a25..f5963943f 100644
--- a/src/web/src/app/globals.css
+++ b/src/web/src/app/globals.css
@@ -827,9 +827,13 @@
}
}
+.dark .markdown {
+ line-height: 1.75;
+}
+
/* Markdown content styles */
.markdown {
- line-height: 1.65;
+ line-height: 1.7;
}
.markdown > *:first-child {
margin-top: 0;
@@ -845,14 +849,15 @@
letter-spacing: -0.015em;
margin-bottom: 0.5em;
}
-.markdown h1 { font-size: 1.25em; line-height: 1.2; margin-top: 1.5em; }
-.markdown h2 { font-size: 1.125em; line-height: 1.25; margin-top: 1.35em; }
-.markdown h3 { font-size: 1em; line-height: 1.3; margin-top: 1.25em; }
+.markdown h1 { font-size: 1.5em; line-height: 1.2; margin-top: 1.5em; }
+.markdown h2 { font-size: 1.25em; line-height: 1.25; margin-top: 1.35em; }
+.markdown h3 { font-size: 1.1em; line-height: 1.3; margin-top: 1.25em; }
.markdown h4 { font-size: 1em; line-height: 1.3; margin-top: 1.15em; }
.markdown p,
.markdown [data-md-p] {
margin-top: 0.5em;
margin-bottom: 0.5em;
+ max-width: 65ch;
}
.markdown ul,
.markdown ol {
diff --git a/src/web/src/app/layout.tsx b/src/web/src/app/layout.tsx
index 6920476b0..fddeb9cb4 100644
--- a/src/web/src/app/layout.tsx
+++ b/src/web/src/app/layout.tsx
@@ -56,8 +56,6 @@ const OG_IMAGE_URL = "/og?title=Your Personal Company";
export const viewport: Viewport = {
width: "device-width",
initialScale: 1,
- maximumScale: 1,
- userScalable: false,
viewportFit: "cover",
themeColor: [
{ media: "(prefers-color-scheme: light)", color: "#f5f0e8" },