repl: tighten left padding so transcript λ> aligns with active prompt λ>

This commit is contained in:
russell@unturf.com 2026-06-14 15:52:40 -04:00
parent e3aa39e172
commit aa20e5b2bf
No known key found for this signature in database
2 changed files with 12 additions and 8 deletions

View file

@ -123,8 +123,8 @@ body.repl {
grid-template-columns: auto auto 1fr auto auto auto auto;
gap: 0.3rem;
align-items: center;
padding: 0.4rem 1rem;
margin: 0 -1rem 0.4rem; /* bleed to viewport edges */
padding: 0.4rem 0.4rem;
margin: 0 0 0.4rem;
background: var(--code-bg);
border-bottom: 1px solid var(--rule);
}
@ -181,13 +181,15 @@ body.repl {
* fresh sessions show the prompt up near the top and it drifts down
* with each new entry. */
.repl-stream {
padding: 0.5rem 1rem 0;
background: var(--code-bg);
display: grid;
grid-template-rows: auto auto auto;
align-content: start;
}
.transcript {
/* Same horizontal inset as the active prompt-bar so prior λ> sigils
* line up with the live one. */
padding: 0.4rem 0.4rem 0;
font-family: var(--mono);
font-size: 0.92em;
line-height: 1.45;
@ -245,7 +247,7 @@ body.repl {
grid-template-columns: auto 1fr auto auto;
gap: 0.4rem;
align-items: center;
padding: 0.3rem 0 0.5rem;
padding: 0.3rem 0.4rem 0.5rem;
background: var(--code-bg);
}
.prompt-bar .prompt-sigil {

View file

@ -123,8 +123,8 @@ body.repl {
grid-template-columns: auto auto 1fr auto auto auto auto;
gap: 0.3rem;
align-items: center;
padding: 0.4rem 1rem;
margin: 0 -1rem 0.4rem; /* bleed to viewport edges */
padding: 0.4rem 0.4rem;
margin: 0 0 0.4rem;
background: var(--code-bg);
border-bottom: 1px solid var(--rule);
}
@ -181,13 +181,15 @@ body.repl {
* fresh sessions show the prompt up near the top and it drifts down
* with each new entry. */
.repl-stream {
padding: 0.5rem 1rem 0;
background: var(--code-bg);
display: grid;
grid-template-rows: auto auto auto;
align-content: start;
}
.transcript {
/* Same horizontal inset as the active prompt-bar so prior λ> sigils
* line up with the live one. */
padding: 0.4rem 0.4rem 0;
font-family: var(--mono);
font-size: 0.92em;
line-height: 1.45;
@ -245,7 +247,7 @@ body.repl {
grid-template-columns: auto 1fr auto auto;
gap: 0.4rem;
align-items: center;
padding: 0.3rem 0 0.5rem;
padding: 0.3rem 0.4rem 0.5rem;
background: var(--code-bg);
}
.prompt-bar .prompt-sigil {