Skip to content

Commit ef52e7f

Browse files
committed
align baselines, take three
1 parent 37a1586 commit ef52e7f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

observablehq.config.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export default {
120120
</svg>
121121
Observable Framework
122122
</span>`,
123-
header: `<div style="display: flex; flex-grow: 1; justify-content: space-between; white-space: nowrap;">
123+
header: `<div style="display: flex; flex-grow: 1; align-items: center; justify-content: space-between; white-space: nowrap;">
124124
<div>
125125
<a href="/" class="hide-if-sidebar" style="display: flex; align-items: center; gap: 0.25rem;">
126126
<svg width="22" height="22" viewBox="0 0 21.92930030822754 22.68549919128418" fill="currentColor" style="align-self: center;">
@@ -132,13 +132,14 @@ export default {
132132
</span>
133133
</a>
134134
</div>
135-
<span style="display: flex; align-items: center; gap: 1rem; font-size: 14px; position: relative; top: 0.7px;">
136-
<a target="_blank" title="${
135+
<span style="display: flex; align-items: baseline; gap: 1rem;">
136+
&#8203;
137+
<a style="font-size: 14px;" target="_blank" title="${
137138
process.env.npm_package_version
138139
} release notes" href="https://github.com/observablehq/framework/releases"><span>${
139140
process.env.npm_package_version
140141
}</span></a>
141-
<a target="_blank" data-decoration="★" title="${stargazers_count.toLocaleString(
142+
<a style="font-size: 14px;" target="_blank" data-decoration="★" title="${stargazers_count.toLocaleString(
142143
"en-US"
143144
)} GitHub stars" href="https://github.com/observablehq/framework"><span>GitHub️ ${
144145
stargazers_count ? formatPrefix(".1s", 1000)(stargazers_count) : ""

0 commit comments

Comments
 (0)