From e45aacf07f6e2b1cc96721d431a0d929ee3b32ca Mon Sep 17 00:00:00 2001 From: Roberto Morado Date: Sun, 9 Nov 2025 19:53:12 -0500 Subject: [PATCH] Fix minor UI --- main.ts | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/main.ts b/main.ts index 6e772f4..a416f34 100644 --- a/main.ts +++ b/main.ts @@ -270,8 +270,8 @@ function renderHTML(content: string): string { } .logout-btn { background: #E6521F; } .logout-btn:hover { background: #EA2F14; } - .login-btn { background: #73946B; } - .login-btn:hover { background: #537D5D; } + .login-btn { background: #B4E197; } + .login-btn:hover { background: #83BD75; } .admin-btn { background: #234C6A; } .admin-btn:hover { background: #1B3C53; } h1 { font-size: 2em; margin-bottom: 10px; } @@ -391,7 +391,7 @@ function renderHTML(content: string): string { font-size: 1em; } textarea { - min-height: 200px; + min-height: 800px; resize: vertical; font-family: 'Courier New', monospace; } @@ -407,11 +407,6 @@ function renderHTML(content: string): string { } button:hover { background: #555; } .empty { color: #999; text-align: center; padding: 40px; } - .help-text { - font-size: 0.85em; - color: #666; - margin-bottom: 15px; - } .metrics-section { background: white; padding: 25px; @@ -568,7 +563,6 @@ async function renderAdminPage( const metricsHTML = `
-

Metrics

Total visits
@@ -582,23 +576,24 @@ async function renderAdminPage( ${renderHeader(username)}
-

New Post

${csrfField(csrfToken)} -
Write your post in Markdown format. Supports **bold**, *italic*, lists, links, code blocks, and more!
-
-- 2.39.5