From e50896dcdc4e4f7486e99d9d59e9759a5051843c Mon Sep 17 00:00:00 2001 From: Pawel Krefta Date: Mon, 1 Dec 2025 01:12:09 +0100 Subject: [PATCH] Fix conversation scroll to bottom on some browsers + remove duplicated padding --- nanochat/ui.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nanochat/ui.html b/nanochat/ui.html index 0f625d9..b85532a 100644 --- a/nanochat/ui.html +++ b/nanochat/ui.html @@ -14,6 +14,11 @@ box-sizing: border-box; } + html, body{ + height: 100%; + margin: 0; + } + body { font-family: ui-sans-serif, -apple-system, system-ui, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; background-color: #ffffff; @@ -107,7 +112,6 @@ .message.assistant .message-content { background: transparent; border: none; - padding: 0.25rem 0; cursor: pointer; border-radius: 0.5rem; padding: 0.5rem;