From 847427aeef74ae08705cefba7498d8c5159f7c67 Mon Sep 17 00:00:00 2001 From: Olivier Chafik Date: Thu, 15 Jan 2026 12:22:58 +0000 Subject: [PATCH] pdf-server: fix scrolling gap in inline mode (#280) * map-server: fix async/await in ontoolresult, remove unused getViewStorageKey * pdf-server: fix scrolling gap in inline mode - Set html/body background to match .main background color This hides any gap between .main and iframe border - Change .main from height:100% to min-height:100% Ensures .main fills container properly --- examples/pdf-server/src/global.css | 2 ++ examples/pdf-server/src/mcp-app.css | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/pdf-server/src/global.css b/examples/pdf-server/src/global.css index 44f8c67..12d392e 100644 --- a/examples/pdf-server/src/global.css +++ b/examples/pdf-server/src/global.css @@ -9,4 +9,6 @@ html, body { padding: 0; height: 100%; width: 100%; + /* Match .main background to hide any gap at the bottom */ + background: var(--bg100, #f5f5f5); } diff --git a/examples/pdf-server/src/mcp-app.css b/examples/pdf-server/src/mcp-app.css index 94093b2..8242ca0 100644 --- a/examples/pdf-server/src/mcp-app.css +++ b/examples/pdf-server/src/mcp-app.css @@ -5,7 +5,7 @@ body { .main { display: flex; flex-direction: column; - height: 100%; + min-height: 100%; width: 100%; background: var(--bg100, #f5f5f5); color: var(--text000, #1a1a1a);