Skip to content

Conversation

Ocean-OS
Copy link
Member

For some reason the console in the REPL has had overflow: hidden, meaning that if there are too many logs to fit in the current view, you'd have to resize the console instead of just scrolling. This should fix that.

Before submitting the PR, please make sure you do the following

  • It's really useful if your PR references an issue where it is discussed ahead of time.
  • Prefix your PR title with feat:, fix:, chore:, or docs:.
  • This message body should clearly illustrate what problems it solves.

Copy link

vercel bot commented Aug 16, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
svelte-dev Ready Ready Preview Aug 26, 2025 9:22pm

@@ -121,7 +121,8 @@
}

.panel-body {
overflow: auto;
overflow: scroll;
max-height: 100%;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes it but makes it bigger than its current size because it fills the height of the container and doesn't take into account the height of the console controls we have at the top. This causes some of the console logs to be hidden. I wonder if we can easily fix this by wrapping the panel body in another container.

@eltigerchino
Copy link
Member

Another issue(?) I've found is that the console doesn't auto scroll to new logs if it's exceeded the height of the container. But maybe that's an issue for another day

Co-authored-by: Tee Ming <chewteeming01@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants