diff --git a/src/ui/Feedback.module.css b/src/ui/Feedback.module.css index 4702b5b66..921ad3d20 100644 --- a/src/ui/Feedback.module.css +++ b/src/ui/Feedback.module.css @@ -116,6 +116,8 @@ display: flex; gap: 10px; width: 340px; + /* Never grow past the window: the close button must stay reachable. */ + max-height: calc(100vh - 48px); padding: 14px 34px 14px 14px; background: var(--bg-popup); border: 1px solid var(--border-popup); @@ -166,6 +168,10 @@ .toastBody { color: var(--fg-secondary); overflow-wrap: anywhere; + /* A huge message (stack trace, build output) scrolls inside the balloon instead + of growing past the window and pushing the close button off-screen. */ + max-height: 40vh; + overflow: auto; -webkit-user-select: text; user-select: text; }