diff --git a/demo/bin/demo.js b/demo/bin/demo.js index bc29333..d652e68 100644 --- a/demo/bin/demo.js +++ b/demo/bin/demo.js @@ -171,19 +171,22 @@ const HTML_TEMPLATE = ` } .terminal-content { - padding: 0; - min-height: 400px; - height: 60vh; + height: 600px; + padding: 16px; + background: #1e1e1e; position: relative; + overflow: hidden; } - #terminal { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - overflow: hidden; + /* Ensure terminal canvas can handle scrolling */ + .terminal-content canvas { + display: block; + } + + @media (max-width: 768px) { + .terminal-content { + height: 500px; + } } @@ -195,15 +198,13 @@ const HTML_TEMPLATE = `
- ghostty-web — shell + ghostty-web