Skip to content

Commit

Permalink
make error overlay message scrollable
Browse files Browse the repository at this point in the history
  • Loading branch information
ForsakenHarmony committed Feb 17, 2023
1 parent 21e7532 commit 64b70a1
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,25 @@ import { noop as css } from "../../helpers/noop-template";

const styles = css`
.terminal {
display: flex;
overflow-y: hidden;
border-radius: var(--size-gap-half);
background-color: var(--color-ansi-bg);
color: var(--color-ansi-fg);
}
.terminal::selection,
.terminal *::selection {
background-color: var(--color-ansi-selection);
}
.terminal * {
color: inherit;
background-color: transparent;
font-family: var(--font-mono);
}
.terminal > * {
margin: 0;
padding: calc(var(--size-gap) + var(--size-gap-half))
Expand All @@ -24,6 +30,7 @@ const styles = css`
.terminal pre {
white-space: pre-wrap;
word-break: break-word;
overflow-y: scroll;
}
`;

Expand Down

0 comments on commit 64b70a1

Please sign in to comment.