Skip to content

Commit 1ab1eb0

Browse files
committed
fix padding and color, the hard way
1 parent fd6cd37 commit 1ab1eb0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

examples/plot/docs/index.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ const burndown = issues
106106
)}
107107
</div>
108108
109+
<style>
110+
.big {margin-right: 0.5rem;}
111+
</style>
112+
109113
<div class="grid grid-cols-4" style="grid-auto-rows: 86px;">
110114
<div class=card>
111115
<h2>Open issues</h2>
@@ -121,7 +125,7 @@ const burndown = issues
121125
</div>
122126
<div class=card>
123127
<h2>Open PRs</h2>
124-
<a class=big href="https://github.com/observablehq/plot/pulls?q=is%3Apr+is%3Aopen+draft%3Afalse"><span class=muted>${d3.format(",")(d3.sum(issues, (d) => d.pull_request && d.state === "open" && !d.draft))}</span></a>
128+
<a class=big href="https://github.com/observablehq/plot/pulls?q=is%3Apr+is%3Aopen+draft%3Afalse"><span style="color: var(--theme-foreground)">${d3.format(",")(d3.sum(issues, (d) => d.pull_request && d.state === "open" && !d.draft))}</span></a>
125129
</div>
126130
</div>
127131

0 commit comments

Comments
 (0)