Skip to content

Commit cd4c0cb

Browse files
committed
Align line better
1 parent 0ecc004 commit cd4c0cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
#ast .node { cursor: pointer; position: relative; }
7171
#ast .node:hover:not(:has(.node:hover)) .bracket { color: var(--accent); }
7272
#ast .node:hover:not(:has(.node:hover)) > .line { background: var(--accent); }
73-
#ast .line { position: absolute; left: calc(0.25ch + 2px); top: 1.5em; bottom: calc(1.1em + 4px); width: 1px; background: var(--border); opacity: 0.4; pointer-events: none; }
73+
#ast .line { position: absolute; left: calc(0.5ch); top: 1.5em; bottom: calc(1.6em); width: 1px; background: var(--border); opacity: 0.4; pointer-events: none; }
7474
#ast .node.collapsed > .args { display: none; }
7575
#ast .node.collapsed > .line { display: none; }
7676
#ast .node.collapsed > .ellipsis { display: inline; }
@@ -465,7 +465,7 @@ <h1><a href="https://github.com/dy/subscript" class="logo-link" target="_blank"
465465
// Multiline example templates for different feature combinations
466466
const TEMPLATES = {
467467
full: {
468-
code: `// Fibonacci with memoization
468+
code: `// fibonacci
469469
function fib(n) {
470470
if (n <= 1) return n;
471471
return fib(n - 1) + fib(n - 2)
@@ -484,7 +484,7 @@ <h1><a href="https://github.com/dy/subscript" class="logo-link" target="_blank"
484484
},
485485

486486
justin: {
487-
code: `// Functional pipeline
487+
code: `// pipeline
488488
items
489489
.filter(x => x.value > threshold)
490490
.map(x => ({

0 commit comments

Comments
 (0)