Skip to content

Commit 862073a

Browse files
committed
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
1 parent 152ce76 commit 862073a

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

examples/pdf-server/src/global.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@ html, body {
99
padding: 0;
1010
height: 100%;
1111
width: 100%;
12+
/* Match .main background to hide any gap at the bottom */
13+
background: var(--bg100, #f5f5f5);
1214
}

examples/pdf-server/src/mcp-app.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ body {
55
.main {
66
display: flex;
77
flex-direction: column;
8-
height: 100%;
8+
min-height: 100%;
99
width: 100%;
1010
background: var(--bg100, #f5f5f5);
1111
color: var(--text000, #1a1a1a);

0 commit comments

Comments
 (0)